This commit is contained in:
status-im-auto 2023-02-09 21:43:17 +00:00 committed by Jenkins
parent 9ff8ef4799
commit a0daa4a8b0
435 changed files with 30176 additions and 4680 deletions

View File

@ -1,14 +1,14 @@
:root {
--light-hl-0: #000000;
--dark-hl-0: #D4D4D4;
--light-hl-1: #795E26;
--dark-hl-1: #DCDCAA;
--light-hl-2: #AF00DB;
--dark-hl-2: #C586C0;
--light-hl-3: #001080;
--dark-hl-3: #9CDCFE;
--light-hl-4: #A31515;
--dark-hl-4: #CE9178;
--light-hl-1: #A31515;
--dark-hl-1: #CE9178;
--light-hl-2: #795E26;
--dark-hl-2: #DCDCAA;
--light-hl-3: #AF00DB;
--dark-hl-3: #C586C0;
--light-hl-4: #001080;
--dark-hl-4: #9CDCFE;
--light-hl-5: #008000;
--dark-hl-5: #6A9955;
--light-hl-6: #0000FF;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -23,9 +23,9 @@
<section class="tsd-panel">
<h4>Implements</h4>
<ul class="tsd-hierarchy">
<li><a href="../interfaces/_waku_interfaces.IDecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IDecodedMessage</a></li></ul></section><aside class="tsd-sources">
<li><a href="../interfaces/_waku_core._internal_.IDecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IDecodedMessage</a></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/message/version_0.ts#L19">packages/core/src/lib/message/version_0.ts:19</a></li></ul></aside>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/message/version_0.ts#L19">packages/core/src/lib/message/version_0.ts:19</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">
@ -64,24 +64,24 @@
<h5>proto: <a href="../modules/_waku_core.message.html" class="tsd-signature-type" data-tsd-kind="Namespace">message</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.version_0.html" class="tsd-signature-type" data-tsd-kind="Namespace">version_0</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.version_0.proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/_waku_core.message.version_0.proto.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="_waku_core.DecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Class">DecodedMessage</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/message/version_0.ts#L20">packages/core/src/lib/message/version_0.ts:20</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/message/version_0.ts#L20">packages/core/src/lib/message/version_0.ts:20</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-protected"><a id="proto" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <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/_waku_core.message.html" class="tsd-signature-type" data-tsd-kind="Namespace">message</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.version_0.html" class="tsd-signature-type" data-tsd-kind="Namespace">version_0</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.version_0.proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/_waku_core.message.version_0.proto.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/3b4bc8b2/packages/core/src/lib/message/version_0.ts#L20">packages/core/src/lib/message/version_0.ts:20</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/message/version_0.ts#L20">packages/core/src/lib/message/version_0.ts:20</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="_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-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><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></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">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/message/version_0.ts#L22">packages/core/src/lib/message/version_0.ts:22</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/message/version_0.ts#L22">packages/core/src/lib/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="_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">
@ -89,52 +89,52 @@
<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/3b4bc8b2/packages/core/src/lib/message/version_0.ts#L41">packages/core/src/lib/message/version_0.ts:41</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/message/version_0.ts#L41">packages/core/src/lib/message/version_0.ts:41</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/_waku_interfaces.IDecodedMessage.html">IDecodedMessage</a>.<a href="../interfaces/_waku_interfaces.IDecodedMessage.html#contentTopic">contentTopic</a></p>
<p>Implementation of <a href="../interfaces/_waku_core._internal_.IDecodedMessage.html">IDecodedMessage</a>.<a href="../interfaces/_waku_core._internal_.IDecodedMessage.html#contentTopic">contentTopic</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/message/version_0.ts#L37">packages/core/src/lib/message/version_0.ts:37</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/message/version_0.ts#L37">packages/core/src/lib/message/version_0.ts:37</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="ephemeral" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>ephemeral</span><a href="#ephemeral" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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="ephemeral.ephemeral-1"><span class="tsd-signature-symbol">get</span> ephemeral<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></li>
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IDecodedMessage.html">IDecodedMessage</a>.<a href="../interfaces/_waku_interfaces.IDecodedMessage.html#ephemeral">ephemeral</a></p>
<p>Implementation of <a href="../interfaces/_waku_core._internal_.IDecodedMessage.html">IDecodedMessage</a>.<a href="../interfaces/_waku_core._internal_.IDecodedMessage.html#ephemeral">ephemeral</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/message/version_0.ts#L29">packages/core/src/lib/message/version_0.ts:29</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/message/version_0.ts#L29">packages/core/src/lib/message/version_0.ts:29</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-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><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></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/_waku_interfaces.IDecodedMessage.html">IDecodedMessage</a>.<a href="../interfaces/_waku_interfaces.IDecodedMessage.html#payload">payload</a></p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_core._internal_.IDecodedMessage.html">IDecodedMessage</a>.<a href="../interfaces/_waku_core._internal_.IDecodedMessage.html#payload">payload</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/message/version_0.ts#L33">packages/core/src/lib/message/version_0.ts:33</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/message/version_0.ts#L33">packages/core/src/lib/message/version_0.ts:33</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="rateLimitProof" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>rate<wbr/>Limit<wbr/>Proof</span><a href="#rateLimitProof" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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="rateLimitProof.rateLimitProof-1"><span class="tsd-signature-symbol">get</span> rateLimitProof<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><a href="../interfaces/_waku_interfaces.IRateLimitProof.html" class="tsd-signature-type" data-tsd-kind="Interface">IRateLimitProof</a></li>
<li class="tsd-signature" id="rateLimitProof.rateLimitProof-1"><span class="tsd-signature-symbol">get</span> rateLimitProof<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><a href="../interfaces/_waku_core._internal_.IRateLimitProof.html" class="tsd-signature-type" data-tsd-kind="Interface">IRateLimitProof</a></li>
<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/_waku_interfaces.IRateLimitProof.html" class="tsd-signature-type" data-tsd-kind="Interface">IRateLimitProof</a></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IDecodedMessage.html">IDecodedMessage</a>.<a href="../interfaces/_waku_interfaces.IDecodedMessage.html#rateLimitProof">rateLimitProof</a></p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_waku_core._internal_.IRateLimitProof.html" class="tsd-signature-type" data-tsd-kind="Interface">IRateLimitProof</a></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_core._internal_.IDecodedMessage.html">IDecodedMessage</a>.<a href="../interfaces/_waku_core._internal_.IDecodedMessage.html#rateLimitProof">rateLimitProof</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/message/version_0.ts#L69">packages/core/src/lib/message/version_0.ts:69</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/message/version_0.ts#L69">packages/core/src/lib/message/version_0.ts:69</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-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><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date" class="tsd-signature-type external" target="_blank">Date</a></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/_waku_interfaces.IDecodedMessage.html">IDecodedMessage</a>.<a href="../interfaces/_waku_interfaces.IDecodedMessage.html#timestamp">timestamp</a></p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date" class="tsd-signature-type external" target="_blank">Date</a></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_core._internal_.IDecodedMessage.html">IDecodedMessage</a>.<a href="../interfaces/_waku_core._internal_.IDecodedMessage.html#timestamp">timestamp</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/message/version_0.ts#L45">packages/core/src/lib/message/version_0.ts:45</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/message/version_0.ts#L45">packages/core/src/lib/message/version_0.ts:45</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">
@ -142,7 +142,7 @@
<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/3b4bc8b2/packages/core/src/lib/message/version_0.ts#L64">packages/core/src/lib/message/version_0.ts:64</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/message/version_0.ts#L64">packages/core/src/lib/message/version_0.ts:64</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">
@ -153,8 +153,7 @@
<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>
<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></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">
@ -166,6 +165,9 @@
<ul>
<li class="current tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -182,15 +184,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -25,9 +25,9 @@
<section class="tsd-panel">
<h4>Implements</h4>
<ul class="tsd-hierarchy">
<li><a href="../interfaces/_waku_interfaces.IDecoder.html" class="tsd-signature-type" data-tsd-kind="Interface">IDecoder</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules/_waku_core.message.html" class="tsd-signature-type" data-tsd-kind="Namespace">message</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.topic_only_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">topic_only_message</a><span class="tsd-signature-symbol">.</span><a href="_waku_core.message.topic_only_message.TopicOnlyMessage.html" class="tsd-signature-type" data-tsd-kind="Class">TopicOnlyMessage</a><span class="tsd-signature-symbol">&gt;</span></li></ul></section><aside class="tsd-sources">
<li><a href="../interfaces/_waku_core._internal_.IDecoder.html" class="tsd-signature-type" data-tsd-kind="Interface">IDecoder</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules/_waku_core.message.html" class="tsd-signature-type" data-tsd-kind="Namespace">message</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.topic_only_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">topic_only_message</a><span class="tsd-signature-symbol">.</span><a href="_waku_core.message.topic_only_message.TopicOnlyMessage.html" class="tsd-signature-type" data-tsd-kind="Class">TopicOnlyMessage</a><span class="tsd-signature-symbol">&gt;</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/message/topic_only_message.ts#L24">packages/core/src/lib/message/topic_only_message.ts:24</a></li></ul></aside>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/message/topic_only_message.ts#L24">packages/core/src/lib/message/topic_only_message.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">
@ -59,39 +59,39 @@
<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"> = &quot;&quot;</span></div><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IDecoder.html">IDecoder</a>.<a href="../interfaces/_waku_interfaces.IDecoder.html#contentTopic">contentTopic</a></p>
<p>Implementation of <a href="../interfaces/_waku_core._internal_.IDecoder.html">IDecoder</a>.<a href="../interfaces/_waku_core._internal_.IDecoder.html#contentTopic">contentTopic</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/message/topic_only_message.ts#L25">packages/core/src/lib/message/topic_only_message.ts:25</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/message/topic_only_message.ts#L25">packages/core/src/lib/message/topic_only_message.ts:25</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="fromProtoObj" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>from<wbr/>Proto<wbr/>Obj</span><a href="#fromProtoObj" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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="fromProtoObj.fromProtoObj-1">from<wbr/>Proto<wbr/>Obj<span class="tsd-signature-symbol">(</span>proto<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</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">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../modules/_waku_core.message.html" class="tsd-signature-type" data-tsd-kind="Namespace">message</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.topic_only_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">topic_only_message</a><span class="tsd-signature-symbol">.</span><a href="_waku_core.message.topic_only_message.TopicOnlyMessage.html" class="tsd-signature-type" data-tsd-kind="Class">TopicOnlyMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#fromProtoObj.fromProtoObj-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="fromProtoObj.fromProtoObj-1">from<wbr/>Proto<wbr/>Obj<span class="tsd-signature-symbol">(</span>proto<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_core._internal_.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../modules/_waku_core.message.html" class="tsd-signature-type" data-tsd-kind="Namespace">message</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.topic_only_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">topic_only_message</a><span class="tsd-signature-symbol">.</span><a href="_waku_core.message.topic_only_message.TopicOnlyMessage.html" class="tsd-signature-type" data-tsd-kind="Class">TopicOnlyMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#fromProtoObj.fromProtoObj-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/_waku_interfaces.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../modules/_waku_core.message.html" class="tsd-signature-type" data-tsd-kind="Namespace">message</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.topic_only_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">topic_only_message</a><span class="tsd-signature-symbol">.</span><a href="_waku_core.message.topic_only_message.TopicOnlyMessage.html" class="tsd-signature-type" data-tsd-kind="Class">TopicOnlyMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h5>proto: <a href="../interfaces/_waku_core._internal_.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../modules/_waku_core.message.html" class="tsd-signature-type" data-tsd-kind="Namespace">message</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.topic_only_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">topic_only_message</a><span class="tsd-signature-symbol">.</span><a href="_waku_core.message.topic_only_message.TopicOnlyMessage.html" class="tsd-signature-type" data-tsd-kind="Class">TopicOnlyMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Implementation of IDecoder.fromProtoObj</p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/message/topic_only_message.ts#L40">packages/core/src/lib/message/topic_only_message.ts:40</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/message/topic_only_message.ts#L40">packages/core/src/lib/message/topic_only_message.ts:40</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="fromWireToProtoObj" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>from<wbr/>Wire<wbr/>To<wbr/>Proto<wbr/>Obj</span><a href="#fromWireToProtoObj" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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="fromWireToProtoObj.fromWireToProtoObj-1">from<wbr/>Wire<wbr/>To<wbr/>Proto<wbr/>Obj<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">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_waku_interfaces.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#fromWireToProtoObj.fromWireToProtoObj-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="fromWireToProtoObj.fromWireToProtoObj-1">from<wbr/>Wire<wbr/>To<wbr/>Proto<wbr/>Obj<span class="tsd-signature-symbol">(</span>bytes<span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_waku_core._internal_.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#fromWireToProtoObj.fromWireToProtoObj-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">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_waku_interfaces.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h5>bytes: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_waku_core._internal_.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Implementation of IDecoder.fromWireToProtoObj</p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/message/topic_only_message.ts#L27">packages/core/src/lib/message/topic_only_message.ts:27</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/message/topic_only_message.ts#L27">packages/core/src/lib/message/topic_only_message.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">
@ -102,8 +102,7 @@
<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>
<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></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">
@ -115,6 +114,9 @@
<ul>
<li class="current tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="current tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -131,15 +133,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -25,9 +25,9 @@
<section class="tsd-panel">
<h4>Implements</h4>
<ul class="tsd-hierarchy">
<li><a href="../interfaces/_waku_interfaces.IDecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IDecodedMessage</a></li></ul></section><aside class="tsd-sources">
<li><a href="../interfaces/_waku_core._internal_.IDecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IDecodedMessage</a></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/message/topic_only_message.ts#L11">packages/core/src/lib/message/topic_only_message.ts:11</a></li></ul></aside>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/message/topic_only_message.ts#L11">packages/core/src/lib/message/topic_only_message.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">
@ -54,47 +54,47 @@
<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/_waku_proto.html#TopicOnlyMessage" class="tsd-signature-type" data-tsd-kind="Reference">TopicOnlyMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/_waku_core.message.html" class="tsd-signature-type" data-tsd-kind="Namespace">message</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.topic_only_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">topic_only_message</a><span class="tsd-signature-symbol">.</span><a href="_waku_core.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-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="../interfaces/_waku_core._internal_.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="../modules/_waku_core.message.html" class="tsd-signature-type" data-tsd-kind="Namespace">message</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.topic_only_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">topic_only_message</a><span class="tsd-signature-symbol">.</span><a href="_waku_core.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/_waku_proto.html#TopicOnlyMessage" class="tsd-signature-type" data-tsd-kind="Reference">TopicOnlyMessage</a></h5></li></ul></div>
<h5>proto: <a href="../interfaces/_waku_core._internal_.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="../modules/_waku_core.message.html" class="tsd-signature-type" data-tsd-kind="Namespace">message</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.topic_only_message.html" class="tsd-signature-type" data-tsd-kind="Namespace">topic_only_message</a><span class="tsd-signature-symbol">.</span><a href="_waku_core.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/3b4bc8b2/packages/core/src/lib/message/topic_only_message.ts#L17">packages/core/src/lib/message/topic_only_message.ts:17</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/message/topic_only_message.ts#L17">packages/core/src/lib/message/topic_only_message.ts:17</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="ephemeral" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>ephemeral</span><a href="#ephemeral" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">ephemeral<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span></div><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IDecodedMessage.html">IDecodedMessage</a>.<a href="../interfaces/_waku_interfaces.IDecodedMessage.html#ephemeral">ephemeral</a></p>
<p>Implementation of <a href="../interfaces/_waku_core._internal_.IDecodedMessage.html">IDecodedMessage</a>.<a href="../interfaces/_waku_core._internal_.IDecodedMessage.html#ephemeral">ephemeral</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/message/topic_only_message.ts#L15">packages/core/src/lib/message/topic_only_message.ts:15</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/message/topic_only_message.ts#L15">packages/core/src/lib/message/topic_only_message.ts:15</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property 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>
<div class="tsd-signature">payload<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span></div><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IDecodedMessage.html">IDecodedMessage</a>.<a href="../interfaces/_waku_interfaces.IDecodedMessage.html#payload">payload</a></p>
<p>Implementation of <a href="../interfaces/_waku_core._internal_.IDecodedMessage.html">IDecodedMessage</a>.<a href="../interfaces/_waku_core._internal_.IDecodedMessage.html#payload">payload</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/message/topic_only_message.ts#L12">packages/core/src/lib/message/topic_only_message.ts:12</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/message/topic_only_message.ts#L12">packages/core/src/lib/message/topic_only_message.ts:12</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="proto" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <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/_waku_proto.html#TopicOnlyMessage" class="tsd-signature-type" data-tsd-kind="Reference">TopicOnlyMessage</a></div><aside class="tsd-sources">
<div class="tsd-signature">proto<span class="tsd-signature-symbol">:</span> <a href="../interfaces/_waku_core._internal_.TopicOnlyMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">TopicOnlyMessage</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/message/topic_only_message.ts#L17">packages/core/src/lib/message/topic_only_message.ts:17</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/message/topic_only_message.ts#L17">packages/core/src/lib/message/topic_only_message.ts:17</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="rateLimitProof" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>rate<wbr/>Limit<wbr/>Proof</span><a href="#rateLimitProof" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">rate<wbr/>Limit<wbr/>Proof<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span></div><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IDecodedMessage.html">IDecodedMessage</a>.<a href="../interfaces/_waku_interfaces.IDecodedMessage.html#rateLimitProof">rateLimitProof</a></p>
<p>Implementation of <a href="../interfaces/_waku_core._internal_.IDecodedMessage.html">IDecodedMessage</a>.<a href="../interfaces/_waku_core._internal_.IDecodedMessage.html#rateLimitProof">rateLimitProof</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/message/topic_only_message.ts#L13">packages/core/src/lib/message/topic_only_message.ts:13</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/message/topic_only_message.ts#L13">packages/core/src/lib/message/topic_only_message.ts:13</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property 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>
<div class="tsd-signature">timestamp<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span></div><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IDecodedMessage.html">IDecodedMessage</a>.<a href="../interfaces/_waku_interfaces.IDecodedMessage.html#timestamp">timestamp</a></p>
<p>Implementation of <a href="../interfaces/_waku_core._internal_.IDecodedMessage.html">IDecodedMessage</a>.<a href="../interfaces/_waku_core._internal_.IDecodedMessage.html#timestamp">timestamp</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/message/topic_only_message.ts#L14">packages/core/src/lib/message/topic_only_message.ts:14</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/message/topic_only_message.ts#L14">packages/core/src/lib/message/topic_only_message.ts:14</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>
@ -103,9 +103,9 @@
<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/_waku_interfaces.IDecodedMessage.html">IDecodedMessage</a>.<a href="../interfaces/_waku_interfaces.IDecodedMessage.html#contentTopic">contentTopic</a></p>
<p>Implementation of <a href="../interfaces/_waku_core._internal_.IDecodedMessage.html">IDecodedMessage</a>.<a href="../interfaces/_waku_core._internal_.IDecodedMessage.html#contentTopic">contentTopic</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/message/topic_only_message.ts#L19">packages/core/src/lib/message/topic_only_message.ts:19</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/message/topic_only_message.ts#L19">packages/core/src/lib/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">
@ -116,8 +116,7 @@
<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>
<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></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">
@ -129,6 +128,9 @@
<ul>
<li class="current tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="selected tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="current tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -145,15 +147,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -25,9 +25,9 @@
<section class="tsd-panel">
<h4>Implements</h4>
<ul class="tsd-hierarchy">
<li><a href="../interfaces/_waku_interfaces.IDecoder.html" class="tsd-signature-type" data-tsd-kind="Interface">IDecoder</a><span class="tsd-signature-symbol">&lt;</span><a href="_waku_core.DecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Class">DecodedMessage</a><span class="tsd-signature-symbol">&gt;</span></li></ul></section><aside class="tsd-sources">
<li><a href="../interfaces/_waku_core._internal_.IDecoder.html" class="tsd-signature-type" data-tsd-kind="Interface">IDecoder</a><span class="tsd-signature-symbol">&lt;</span><a href="_waku_core.DecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Class">DecodedMessage</a><span class="tsd-signature-symbol">&gt;</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/message/version_0.ts#L111">packages/core/src/lib/message/version_0.ts:111</a></li></ul></aside>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/message/version_0.ts#L111">packages/core/src/lib/message/version_0.ts:111</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,45 +60,45 @@
<h5>contentTopic: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../modules/_waku_core.message.html" class="tsd-signature-type" data-tsd-kind="Namespace">message</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.version_0.html" class="tsd-signature-type" data-tsd-kind="Namespace">version_0</a><span class="tsd-signature-symbol">.</span><a href="_waku_core.message.version_0.Decoder.html" class="tsd-signature-type" data-tsd-kind="Class">Decoder</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/message/version_0.ts#L112">packages/core/src/lib/message/version_0.ts:112</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/message/version_0.ts#L112">packages/core/src/lib/message/version_0.ts:112</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/_waku_interfaces.IDecoder.html">IDecoder</a>.<a href="../interfaces/_waku_interfaces.IDecoder.html#contentTopic">contentTopic</a></p>
<p>Implementation of <a href="../interfaces/_waku_core._internal_.IDecoder.html">IDecoder</a>.<a href="../interfaces/_waku_core._internal_.IDecoder.html#contentTopic">contentTopic</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/message/version_0.ts#L112">packages/core/src/lib/message/version_0.ts:112</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/message/version_0.ts#L112">packages/core/src/lib/message/version_0.ts:112</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="fromProtoObj" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>from<wbr/>Proto<wbr/>Obj</span><a href="#fromProtoObj" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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="fromProtoObj.fromProtoObj-1">from<wbr/>Proto<wbr/>Obj<span class="tsd-signature-symbol">(</span>proto<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</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">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="_waku_core.DecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Class">DecodedMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#fromProtoObj.fromProtoObj-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="fromProtoObj.fromProtoObj-1">from<wbr/>Proto<wbr/>Obj<span class="tsd-signature-symbol">(</span>proto<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_core._internal_.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="_waku_core.DecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Class">DecodedMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#fromProtoObj.fromProtoObj-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/_waku_interfaces.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="_waku_core.DecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Class">DecodedMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h5>proto: <a href="../interfaces/_waku_core._internal_.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="_waku_core.DecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Class">DecodedMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Implementation of IDecoder.fromProtoObj</p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/message/version_0.ts#L127">packages/core/src/lib/message/version_0.ts:127</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/message/version_0.ts#L127">packages/core/src/lib/message/version_0.ts:127</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="fromWireToProtoObj" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>from<wbr/>Wire<wbr/>To<wbr/>Proto<wbr/>Obj</span><a href="#fromWireToProtoObj" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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="fromWireToProtoObj.fromWireToProtoObj-1">from<wbr/>Wire<wbr/>To<wbr/>Proto<wbr/>Obj<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">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_waku_interfaces.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#fromWireToProtoObj.fromWireToProtoObj-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="fromWireToProtoObj.fromWireToProtoObj-1">from<wbr/>Wire<wbr/>To<wbr/>Proto<wbr/>Obj<span class="tsd-signature-symbol">(</span>bytes<span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_waku_core._internal_.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#fromWireToProtoObj.fromWireToProtoObj-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">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_waku_interfaces.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h5>bytes: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_waku_core._internal_.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Implementation of IDecoder.fromWireToProtoObj</p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/message/version_0.ts#L114">packages/core/src/lib/message/version_0.ts:114</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/message/version_0.ts#L114">packages/core/src/lib/message/version_0.ts:114</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">
@ -109,8 +109,7 @@
<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>
<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></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">
@ -122,6 +121,9 @@
<ul>
<li class="current tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -138,15 +140,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -25,9 +25,9 @@
<section class="tsd-panel">
<h4>Implements</h4>
<ul class="tsd-hierarchy">
<li><a href="../interfaces/_waku_interfaces.IEncoder.html" class="tsd-signature-type" data-tsd-kind="Interface">IEncoder</a></li></ul></section><aside class="tsd-sources">
<li><a href="../interfaces/_waku_core._internal_.IEncoder.html" class="tsd-signature-type" data-tsd-kind="Interface">IEncoder</a></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/message/version_0.ts#L74">packages/core/src/lib/message/version_0.ts:74</a></li></ul></aside>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/message/version_0.ts#L74">packages/core/src/lib/message/version_0.ts:74</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">
@ -63,51 +63,51 @@
<h5>ephemeral: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../modules/_waku_core.message.html" class="tsd-signature-type" data-tsd-kind="Namespace">message</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.version_0.html" class="tsd-signature-type" data-tsd-kind="Namespace">version_0</a><span class="tsd-signature-symbol">.</span><a href="_waku_core.message.version_0.Encoder.html" class="tsd-signature-type" data-tsd-kind="Class">Encoder</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/message/version_0.ts#L75">packages/core/src/lib/message/version_0.ts:75</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/message/version_0.ts#L75">packages/core/src/lib/message/version_0.ts:75</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/_waku_interfaces.IEncoder.html">IEncoder</a>.<a href="../interfaces/_waku_interfaces.IEncoder.html#contentTopic">contentTopic</a></p>
<p>Implementation of <a href="../interfaces/_waku_core._internal_.IEncoder.html">IEncoder</a>.<a href="../interfaces/_waku_core._internal_.IEncoder.html#contentTopic">contentTopic</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/message/version_0.ts#L75">packages/core/src/lib/message/version_0.ts:75</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/message/version_0.ts#L75">packages/core/src/lib/message/version_0.ts:75</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="ephemeral" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>ephemeral</span><a href="#ephemeral" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">ephemeral<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEncoder.html">IEncoder</a>.<a href="../interfaces/_waku_interfaces.IEncoder.html#ephemeral">ephemeral</a></p>
<p>Implementation of <a href="../interfaces/_waku_core._internal_.IEncoder.html">IEncoder</a>.<a href="../interfaces/_waku_core._internal_.IEncoder.html#ephemeral">ephemeral</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/message/version_0.ts#L75">packages/core/src/lib/message/version_0.ts:75</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/message/version_0.ts#L75">packages/core/src/lib/message/version_0.ts:75</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="toProtoObj" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>to<wbr/>Proto<wbr/>Obj</span><a href="#toProtoObj" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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="toProtoObj.toProtoObj-1">to<wbr/>Proto<wbr/>Obj<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.IMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IMessage</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">&lt;</span><a href="../interfaces/_waku_interfaces.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#toProtoObj.toProtoObj-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="toProtoObj.toProtoObj-1">to<wbr/>Proto<wbr/>Obj<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_core._internal_.IMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_core._internal_.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#toProtoObj.toProtoObj-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/_waku_interfaces.IMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IMessage</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_interfaces.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h5>message: <a href="../interfaces/_waku_core._internal_.IMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IMessage</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_core._internal_.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Implementation of IEncoder.toProtoObj</p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/message/version_0.ts#L81">packages/core/src/lib/message/version_0.ts:81</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/message/version_0.ts#L81">packages/core/src/lib/message/version_0.ts:81</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="toWire" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>to<wbr/>Wire</span><a href="#toWire" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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="toWire.toWire-1">to<wbr/>Wire<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.IMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IMessage</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">&lt;</span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span><a href="#toWire.toWire-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="toWire.toWire-1">to<wbr/>Wire<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_core._internal_.IMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">&gt;</span><a href="#toWire.toWire-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/_waku_interfaces.IMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IMessage</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h5>message: <a href="../interfaces/_waku_core._internal_.IMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IMessage</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Implementation of IEncoder.toWire</p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/message/version_0.ts#L77">packages/core/src/lib/message/version_0.ts:77</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/message/version_0.ts#L77">packages/core/src/lib/message/version_0.ts:77</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">
@ -118,8 +118,7 @@
<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>
<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></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">
@ -131,6 +130,9 @@
<ul>
<li class="current tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -147,15 +149,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -24,9 +24,9 @@
<section class="tsd-panel">
<h4>Implements</h4>
<ul class="tsd-hierarchy">
<li><a href="../interfaces/_waku_interfaces.Waku.html" class="tsd-signature-type" data-tsd-kind="Interface">Waku</a></li></ul></section><aside class="tsd-sources">
<li><a href="../interfaces/_waku_core._internal_.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/3b4bc8b2/packages/core/src/lib/waku.ts#L53">packages/core/src/lib/waku.ts:53</a></li></ul></aside>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/waku.ts#L50">packages/core/src/lib/waku.ts:50</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">
@ -63,134 +63,134 @@
<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_WakuNode">new <wbr/>Waku<wbr/>Node<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_core.waku.WakuOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuOptions</a>, libp2p<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Libp2p</span>, store<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_core.waku_store.StoreComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">StoreComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../interfaces/_waku_interfaces.IStore.html" class="tsd-signature-type" data-tsd-kind="Interface">IStore</a><span class="tsd-signature-symbol">)</span>, lightPush<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_core.waku_light_push.LightPushComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">LightPushComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../interfaces/_waku_interfaces.ILightPush.html" class="tsd-signature-type" data-tsd-kind="Interface">ILightPush</a><span class="tsd-signature-symbol">)</span>, filter<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_core.waku_filter.FilterComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">FilterComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../interfaces/_waku_interfaces.IFilter.html" class="tsd-signature-type" data-tsd-kind="Interface">IFilter</a><span class="tsd-signature-symbol">)</span>, peerExchange<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../interfaces/_waku_interfaces.IPeerExchange.html" class="tsd-signature-type" data-tsd-kind="Interface">IPeerExchange</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_waku_core.waku.WakuNode.html" class="tsd-signature-type" data-tsd-kind="Class">WakuNode</a><a href="#constructor.new_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></li>
<li class="tsd-signature tsd-anchor-link" id="constructor.new_WakuNode">new <wbr/>Waku<wbr/>Node<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">: </span><a href="../modules/_waku_core.waku.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/_waku_core.waku.WakuOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuOptions</a>, libp2p<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Libp2p</span>, store<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>libp2p<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Libp2p</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../interfaces/_waku_core._internal_.IStore.html" class="tsd-signature-type" data-tsd-kind="Interface">IStore</a><span class="tsd-signature-symbol">)</span>, lightPush<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>libp2p<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Libp2p</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../interfaces/_waku_core._internal_.ILightPush.html" class="tsd-signature-type" data-tsd-kind="Interface">ILightPush</a><span class="tsd-signature-symbol">)</span>, filter<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>libp2p<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Libp2p</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../interfaces/_waku_core._internal_.IFilter.html" class="tsd-signature-type" data-tsd-kind="Interface">IFilter</a><span class="tsd-signature-symbol">)</span>, peerExchange<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_core._internal_.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../interfaces/_waku_core._internal_.IPeerExchange.html" class="tsd-signature-type" data-tsd-kind="Interface">IPeerExchange</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_waku_core.waku.WakuNode.html" class="tsd-signature-type" data-tsd-kind="Class">WakuNode</a><a href="#constructor.new_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></li>
<li class="tsd-description">
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>options: <a href="../interfaces/_waku_core.waku.WakuOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuOptions</a></h5></li>
<h5>options: <a href="../modules/_waku_core.waku.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/_waku_core.waku.WakuOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuOptions</a></h5></li>
<li>
<h5>libp2p: <span class="tsd-signature-type">Libp2p</span></h5></li>
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> store: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_core.waku_store.StoreComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">StoreComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../interfaces/_waku_interfaces.IStore.html" class="tsd-signature-type" data-tsd-kind="Interface">IStore</a><span class="tsd-signature-symbol">)</span></h5>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> store: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>libp2p<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Libp2p</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../interfaces/_waku_core._internal_.IStore.html" class="tsd-signature-type" data-tsd-kind="Interface">IStore</a><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>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_core.waku_store.StoreComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">StoreComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.IStore.html" class="tsd-signature-type" data-tsd-kind="Interface">IStore</a></li>
<li class="tsd-signature"><span class="tsd-signature-symbol">(</span>libp2p<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Libp2p</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_core._internal_.IStore.html" class="tsd-signature-type" data-tsd-kind="Interface">IStore</a></li>
<li class="tsd-description">
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>components: <a href="../interfaces/_waku_core.waku_store.StoreComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">StoreComponents</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../interfaces/_waku_interfaces.IStore.html" class="tsd-signature-type" data-tsd-kind="Interface">IStore</a></h4></li></ul></li></ul></li>
<h5>libp2p: <span class="tsd-signature-type">Libp2p</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../interfaces/_waku_core._internal_.IStore.html" class="tsd-signature-type" data-tsd-kind="Interface">IStore</a></h4></li></ul></li></ul></li>
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> lightPush: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_core.waku_light_push.LightPushComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">LightPushComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../interfaces/_waku_interfaces.ILightPush.html" class="tsd-signature-type" data-tsd-kind="Interface">ILightPush</a><span class="tsd-signature-symbol">)</span></h5>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> lightPush: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>libp2p<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Libp2p</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../interfaces/_waku_core._internal_.ILightPush.html" class="tsd-signature-type" data-tsd-kind="Interface">ILightPush</a><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>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_core.waku_light_push.LightPushComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">LightPushComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.ILightPush.html" class="tsd-signature-type" data-tsd-kind="Interface">ILightPush</a></li>
<li class="tsd-signature"><span class="tsd-signature-symbol">(</span>libp2p<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Libp2p</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_core._internal_.ILightPush.html" class="tsd-signature-type" data-tsd-kind="Interface">ILightPush</a></li>
<li class="tsd-description">
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>components: <a href="../interfaces/_waku_core.waku_light_push.LightPushComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">LightPushComponents</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../interfaces/_waku_interfaces.ILightPush.html" class="tsd-signature-type" data-tsd-kind="Interface">ILightPush</a></h4></li></ul></li></ul></li>
<h5>libp2p: <span class="tsd-signature-type">Libp2p</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../interfaces/_waku_core._internal_.ILightPush.html" class="tsd-signature-type" data-tsd-kind="Interface">ILightPush</a></h4></li></ul></li></ul></li>
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> filter: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_core.waku_filter.FilterComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">FilterComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../interfaces/_waku_interfaces.IFilter.html" class="tsd-signature-type" data-tsd-kind="Interface">IFilter</a><span class="tsd-signature-symbol">)</span></h5>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> filter: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>libp2p<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Libp2p</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../interfaces/_waku_core._internal_.IFilter.html" class="tsd-signature-type" data-tsd-kind="Interface">IFilter</a><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>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_core.waku_filter.FilterComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">FilterComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.IFilter.html" class="tsd-signature-type" data-tsd-kind="Interface">IFilter</a></li>
<li class="tsd-signature"><span class="tsd-signature-symbol">(</span>libp2p<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Libp2p</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_core._internal_.IFilter.html" class="tsd-signature-type" data-tsd-kind="Interface">IFilter</a></li>
<li class="tsd-description">
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>components: <a href="../interfaces/_waku_core.waku_filter.FilterComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">FilterComponents</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../interfaces/_waku_interfaces.IFilter.html" class="tsd-signature-type" data-tsd-kind="Interface">IFilter</a></h4></li></ul></li></ul></li>
<h5>libp2p: <span class="tsd-signature-type">Libp2p</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../interfaces/_waku_core._internal_.IFilter.html" class="tsd-signature-type" data-tsd-kind="Interface">IFilter</a></h4></li></ul></li></ul></li>
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> peerExchange: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../interfaces/_waku_interfaces.IPeerExchange.html" class="tsd-signature-type" data-tsd-kind="Interface">IPeerExchange</a><span class="tsd-signature-symbol">)</span></h5>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> peerExchange: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_core._internal_.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../interfaces/_waku_core._internal_.IPeerExchange.html" class="tsd-signature-type" data-tsd-kind="Interface">IPeerExchange</a><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>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.IPeerExchange.html" class="tsd-signature-type" data-tsd-kind="Interface">IPeerExchange</a></li>
<li class="tsd-signature"><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_core._internal_.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_core._internal_.IPeerExchange.html" class="tsd-signature-type" data-tsd-kind="Interface">IPeerExchange</a></li>
<li class="tsd-description">
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>components: <a href="../interfaces/_waku_interfaces.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../interfaces/_waku_interfaces.IPeerExchange.html" class="tsd-signature-type" data-tsd-kind="Interface">IPeerExchange</a></h4></li></ul></li></ul></li></ul></div>
<h5>components: <a href="../interfaces/_waku_core._internal_.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../interfaces/_waku_core._internal_.IPeerExchange.html" class="tsd-signature-type" data-tsd-kind="Interface">IPeerExchange</a></h4></li></ul></li></ul></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="_waku_core.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/3b4bc8b2/packages/core/src/lib/waku.ts#L68">packages/core/src/lib/waku.ts:68</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/waku.ts#L65">packages/core/src/lib/waku.ts:65</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>
<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"><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">filter<span class="tsd-signature-symbol">?:</span> <a href="../interfaces/_waku_interfaces.IFilter.html" class="tsd-signature-type" data-tsd-kind="Interface">IFilter</a></div><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.Waku.html">Waku</a>.<a href="../interfaces/_waku_interfaces.Waku.html#filter">filter</a></p>
<div class="tsd-signature">filter<span class="tsd-signature-symbol">?:</span> <a href="../interfaces/_waku_core._internal_.IFilter.html" class="tsd-signature-type" data-tsd-kind="Interface">IFilter</a></div><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_core._internal_.Waku.html">Waku</a>.<a href="../interfaces/_waku_core._internal_.Waku.html#filter">filter</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/waku.ts#L57">packages/core/src/lib/waku.ts:57</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/waku.ts#L54">packages/core/src/lib/waku.ts:54</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/_waku_interfaces.Waku.html">Waku</a>.<a href="../interfaces/_waku_interfaces.Waku.html#libp2p">libp2p</a></p>
<p>Implementation of <a href="../interfaces/_waku_core._internal_.Waku.html">Waku</a>.<a href="../interfaces/_waku_core._internal_.Waku.html#libp2p">libp2p</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/waku.ts#L54">packages/core/src/lib/waku.ts:54</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/waku.ts#L51">packages/core/src/lib/waku.ts:51</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="../interfaces/_waku_interfaces.ILightPush.html" class="tsd-signature-type" data-tsd-kind="Interface">ILightPush</a></div><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.Waku.html">Waku</a>.<a href="../interfaces/_waku_interfaces.Waku.html#lightPush">lightPush</a></p>
<div class="tsd-signature">light<wbr/>Push<span class="tsd-signature-symbol">?:</span> <a href="../interfaces/_waku_core._internal_.ILightPush.html" class="tsd-signature-type" data-tsd-kind="Interface">ILightPush</a></div><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_core._internal_.Waku.html">Waku</a>.<a href="../interfaces/_waku_core._internal_.Waku.html#lightPush">lightPush</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/waku.ts#L58">packages/core/src/lib/waku.ts:58</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/waku.ts#L55">packages/core/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="peerExchange" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>peer<wbr/>Exchange</span><a href="#peerExchange" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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/>Exchange<span class="tsd-signature-symbol">?:</span> <a href="../interfaces/_waku_interfaces.IPeerExchange.html" class="tsd-signature-type" data-tsd-kind="Interface">IPeerExchange</a></div><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.Waku.html">Waku</a>.<a href="../interfaces/_waku_interfaces.Waku.html#peerExchange">peerExchange</a></p>
<div class="tsd-signature">peer<wbr/>Exchange<span class="tsd-signature-symbol">?:</span> <a href="../interfaces/_waku_core._internal_.IPeerExchange.html" class="tsd-signature-type" data-tsd-kind="Interface">IPeerExchange</a></div><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_core._internal_.Waku.html">Waku</a>.<a href="../interfaces/_waku_core._internal_.Waku.html#peerExchange">peerExchange</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/waku.ts#L59">packages/core/src/lib/waku.ts:59</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/waku.ts#L56">packages/core/src/lib/waku.ts:56</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><br/><span>    </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">&lt;</span><span class="tsd-signature-symbol">typeof </span><span class="tsd-signature-type">setInterval</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></div>
<div class="tsd-signature">ping<wbr/>Keep<wbr/>Alive<wbr/>Timers<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span>    </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">&lt;</span><span class="tsd-signature-symbol">typeof </span><a href="https://developer.mozilla.org/en-US/docs/Web/API/setInterval" class="tsd-signature-type external" target="_blank">setInterval</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></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>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">&lt;</span><span class="tsd-signature-symbol">typeof </span><span class="tsd-signature-type">setInterval</span><span class="tsd-signature-symbol">&gt;</span></h5></li></ul></div><aside class="tsd-sources">
<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">&lt;</span><span class="tsd-signature-symbol">typeof </span><a href="https://developer.mozilla.org/en-US/docs/Web/API/setInterval" class="tsd-signature-type external" target="_blank">setInterval</a><span class="tsd-signature-symbol">&gt;</span></h5></li></ul></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/waku.ts#L61">packages/core/src/lib/waku.ts:61</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/waku.ts#L58">packages/core/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="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="../interfaces/_waku_interfaces.IRelay.html" class="tsd-signature-type" data-tsd-kind="Interface">IRelay</a></div><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.Waku.html">Waku</a>.<a href="../interfaces/_waku_interfaces.Waku.html#relay">relay</a></p>
<div class="tsd-signature">relay<span class="tsd-signature-symbol">?:</span> <a href="../interfaces/_waku_core._internal_.IRelay.html" class="tsd-signature-type" data-tsd-kind="Interface">IRelay</a></div><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_core._internal_.Waku.html">Waku</a>.<a href="../interfaces/_waku_core._internal_.Waku.html#relay">relay</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/waku.ts#L55">packages/core/src/lib/waku.ts:55</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/waku.ts#L52">packages/core/src/lib/waku.ts:52</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><br/><span>    </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">&lt;</span><span class="tsd-signature-symbol">typeof </span><span class="tsd-signature-type">setInterval</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></div>
<div class="tsd-signature">relay<wbr/>Keep<wbr/>Alive<wbr/>Timers<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span>    </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">&lt;</span><span class="tsd-signature-symbol">typeof </span><a href="https://developer.mozilla.org/en-US/docs/Web/API/setInterval" class="tsd-signature-type external" target="_blank">setInterval</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></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>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">&lt;</span><span class="tsd-signature-symbol">typeof </span><span class="tsd-signature-type">setInterval</span><span class="tsd-signature-symbol">&gt;</span></h5></li></ul></div><aside class="tsd-sources">
<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">&lt;</span><span class="tsd-signature-symbol">typeof </span><a href="https://developer.mozilla.org/en-US/docs/Web/API/setInterval" class="tsd-signature-type external" target="_blank">setInterval</a><span class="tsd-signature-symbol">&gt;</span></h5></li></ul></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/waku.ts#L64">packages/core/src/lib/waku.ts:64</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/waku.ts#L61">packages/core/src/lib/waku.ts:61</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="../interfaces/_waku_interfaces.IStore.html" class="tsd-signature-type" data-tsd-kind="Interface">IStore</a></div><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.Waku.html">Waku</a>.<a href="../interfaces/_waku_interfaces.Waku.html#store">store</a></p>
<div class="tsd-signature">store<span class="tsd-signature-symbol">?:</span> <a href="../interfaces/_waku_core._internal_.IStore.html" class="tsd-signature-type" data-tsd-kind="Interface">IStore</a></div><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_core._internal_.Waku.html">Waku</a>.<a href="../interfaces/_waku_core._internal_.Waku.html#store">store</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/waku.ts#L56">packages/core/src/lib/waku.ts:56</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/waku.ts#L53">packages/core/src/lib/waku.ts:53</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="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">
<li class="tsd-signature tsd-anchor-link" id="dial.dial-1">dial<span class="tsd-signature-symbol">(</span>peer<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PeerId</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Multiaddr</span>, protocols<span class="tsd-signature-symbol">?: </span><a href="../enums/_waku_interfaces.Protocols.html" class="tsd-signature-type" data-tsd-kind="Enumeration">Protocols</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">&lt;</span><span class="tsd-signature-type">Stream</span><span class="tsd-signature-symbol">&gt;</span><a href="#dial.dial-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="dial.dial-1">dial<span class="tsd-signature-symbol">(</span>peer<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PeerId</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Multiaddr</span>, protocols<span class="tsd-signature-symbol">?: </span><a href="../enums/_waku_core._internal_.Protocols.html" class="tsd-signature-type" data-tsd-kind="Enumeration">Protocols</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Stream</span><span class="tsd-signature-symbol">&gt;</span><a href="#dial.dial-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>Dials to the provided peer.</p>
</div>
@ -202,13 +202,13 @@
<div class="tsd-comment tsd-typography"><p>The peer to dial</p>
</div></li>
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> protocols: <a href="../enums/_waku_interfaces.Protocols.html" class="tsd-signature-type" data-tsd-kind="Enumeration">Protocols</a><span class="tsd-signature-symbol">[]</span></h5>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> protocols: <a href="../enums/_waku_core._internal_.Protocols.html" class="tsd-signature-type" data-tsd-kind="Enumeration">Protocols</a><span class="tsd-signature-symbol">[]</span></h5>
<div class="tsd-comment tsd-typography"><p>Waku protocols we expect from the peer; Defaults to mounted protocols</p>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Stream</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.Waku.html">Waku</a>.<a href="../interfaces/_waku_interfaces.Waku.html#dial">dial</a></p>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Stream</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_core._internal_.Waku.html">Waku</a>.<a href="../interfaces/_waku_core._internal_.Waku.html#dial">dial</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/waku.ts#L151">packages/core/src/lib/waku.ts:151</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/waku.ts#L148">packages/core/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="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">
@ -220,25 +220,25 @@
</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/3b4bc8b2/packages/core/src/lib/waku.ts#L236">packages/core/src/lib/waku.ts:236</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/waku.ts#L233">packages/core/src/lib/waku.ts:233</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">
<li class="tsd-signature tsd-anchor-link" id="isStarted.isStarted-1">is<wbr/>Started<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><a href="#isStarted.isStarted-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">boolean</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.Waku.html">Waku</a>.<a href="../interfaces/_waku_interfaces.Waku.html#isStarted">isStarted</a></p>
<p>Implementation of <a href="../interfaces/_waku_core._internal_.Waku.html">Waku</a>.<a href="../interfaces/_waku_core._internal_.Waku.html#isStarted">isStarted</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/waku.ts#L227">packages/core/src/lib/waku.ts:227</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/waku.ts#L224">packages/core/src/lib/waku.ts:224</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">
<li class="tsd-signature tsd-anchor-link" id="start.start-1">start<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">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#start.start-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="start.start-1">start<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#start.start-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">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.Waku.html">Waku</a>.<a href="../interfaces/_waku_interfaces.Waku.html#start">start</a></p>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_core._internal_.Waku.html">Waku</a>.<a href="../interfaces/_waku_core._internal_.Waku.html#start">start</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/waku.ts#L218">packages/core/src/lib/waku.ts:218</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/waku.ts#L215">packages/core/src/lib/waku.ts:215</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">
@ -255,16 +255,16 @@
<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/3b4bc8b2/packages/core/src/lib/waku.ts#L246">packages/core/src/lib/waku.ts:246</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/waku.ts#L243">packages/core/src/lib/waku.ts:243</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">
<li class="tsd-signature tsd-anchor-link" id="stop.stop-1">stop<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">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#stop.stop-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="stop.stop-1">stop<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#stop.stop-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">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.Waku.html">Waku</a>.<a href="../interfaces/_waku_interfaces.Waku.html#stop">stop</a></p>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_core._internal_.Waku.html">Waku</a>.<a href="../interfaces/_waku_core._internal_.Waku.html#stop">stop</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/waku.ts#L222">packages/core/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/79838d8c/packages/core/src/lib/waku.ts#L219">packages/core/src/lib/waku.ts:219</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">
@ -272,7 +272,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/3b4bc8b2/packages/core/src/lib/waku.ts#L293">packages/core/src/lib/waku.ts:293</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/waku.ts#L290">packages/core/src/lib/waku.ts:290</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">
@ -285,7 +285,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">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/waku.ts#L279">packages/core/src/lib/waku.ts:279</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/waku.ts#L276">packages/core/src/lib/waku.ts:276</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">
@ -296,8 +296,7 @@
<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>
<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></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">
@ -309,6 +308,9 @@
<ul>
<li class="current tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -325,15 +327,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -21,7 +21,7 @@
<ul class="tsd-hierarchy">
<li><span class="target">DnsNodeDiscovery</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/dns-discovery/src/dns.ts#L31">packages/dns-discovery/src/dns.ts:31</a></li></ul></aside>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/dns-discovery/src/dns.ts#L31">packages/dns-discovery/src/dns.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">
@ -59,7 +59,7 @@
<h5>dns: <a href="../interfaces/_waku_dns_discovery.DnsClient.html" class="tsd-signature-type" data-tsd-kind="Interface">DnsClient</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="_waku_dns_discovery.DnsNodeDiscovery.html" class="tsd-signature-type" data-tsd-kind="Class">DnsNodeDiscovery</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/dns-discovery/src/dns.ts#L79">packages/dns-discovery/src/dns.ts:79</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/dns-discovery/src/dns.ts#L79">packages/dns-discovery/src/dns.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 tsd-is-private"><a id="_DNSTreeCache" class="tsd-anchor"></a>
@ -71,23 +71,23 @@
<li class="tsd-parameter-index-signature">
<h5><span class="tsd-signature-symbol">[</span>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-type">string</span></h5></li></ul></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/dns-discovery/src/dns.ts#L33">packages/dns-discovery/src/dns.ts:33</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/dns-discovery/src/dns.ts#L33">packages/dns-discovery/src/dns.ts:33</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="_errorTolerance" 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>_error<wbr/>Tolerance</span><a href="#_errorTolerance" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">_error<wbr/>Tolerance<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 10</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/dns-discovery/src/dns.ts#L34">packages/dns-discovery/src/dns.ts:34</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/dns-discovery/src/dns.ts#L34">packages/dns-discovery/src/dns.ts:34</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="dns" 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>dns</span><a href="#dns" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">dns<span class="tsd-signature-symbol">:</span> <a href="../interfaces/_waku_dns_discovery.DnsClient.html" class="tsd-signature-type" data-tsd-kind="Interface">DnsClient</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/dns-discovery/src/dns.ts#L32">packages/dns-discovery/src/dns.ts:32</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/dns-discovery/src/dns.ts#L32">packages/dns-discovery/src/dns.ts:32</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="_getTXTRecord" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_getTXTRecord</span><a href="#_getTXTRecord" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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="_getTXTRecord._getTXTRecord-1">_getTXTRecord<span class="tsd-signature-symbol">(</span>subdomain<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, context<span class="tsd-signature-symbol">: </span><a href="../types/_waku_dns_discovery.SearchContext.html" class="tsd-signature-type" data-tsd-kind="Type alias">SearchContext</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">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><a href="#_getTXTRecord._getTXTRecord-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="_getTXTRecord._getTXTRecord-1">_getTXTRecord<span class="tsd-signature-symbol">(</span>subdomain<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, context<span class="tsd-signature-symbol">: </span><a href="../types/_waku_dns_discovery.SearchContext.html" class="tsd-signature-type" data-tsd-kind="Type alias">SearchContext</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><a href="#_getTXTRecord._getTXTRecord-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>Retrieves the TXT record stored at a location from either
this DNS tree cache or via DNS query.</p>
@ -101,13 +101,13 @@ this DNS tree cache or via DNS query.</p>
<h5>subdomain: <span class="tsd-signature-type">string</span></h5></li>
<li>
<h5>context: <a href="../types/_waku_dns_discovery.SearchContext.html" class="tsd-signature-type" data-tsd-kind="Type alias">SearchContext</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/dns-discovery/src/dns.ts#L156">packages/dns-discovery/src/dns.ts:156</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/dns-discovery/src/dns.ts#L156">packages/dns-discovery/src/dns.ts:156</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="_search" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_search</span><a href="#_search" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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="_search._search-1">_search<span class="tsd-signature-symbol">(</span>subdomain<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, context<span class="tsd-signature-symbol">: </span><a href="../types/_waku_dns_discovery.SearchContext.html" class="tsd-signature-type" data-tsd-kind="Type alias">SearchContext</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">&lt;</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span><a href="#_search._search-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="_search._search-1">_search<span class="tsd-signature-symbol">(</span>subdomain<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, context<span class="tsd-signature-symbol">: </span><a href="../types/_waku_dns_discovery.SearchContext.html" class="tsd-signature-type" data-tsd-kind="Type alias">SearchContext</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="_waku_dns_discovery._internal_.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span><a href="#_search._search-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>Runs a recursive, randomized descent of the DNS tree to retrieve a single
ENR record as an ENR. Returns null if parsing or DNS resolution fails.</p>
@ -119,13 +119,13 @@ ENR record as an ENR. Returns null if parsing or DNS resolution fails.</p>
<h5>subdomain: <span class="tsd-signature-type">string</span></h5></li>
<li>
<h5>context: <a href="../types/_waku_dns_discovery.SearchContext.html" class="tsd-signature-type" data-tsd-kind="Type alias">SearchContext</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="_waku_dns_discovery._internal_.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/dns-discovery/src/dns.ts#L112">packages/dns-discovery/src/dns.ts:112</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/dns-discovery/src/dns.ts#L112">packages/dns-discovery/src/dns.ts:112</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getNextPeer" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Next<wbr/>Peer</span><a href="#getNextPeer" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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="getNextPeer.getNextPeer-1">get<wbr/>Next<wbr/>Peer<span class="tsd-signature-symbol">(</span>enrTreeUrls<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span>, wantedNodeCapabilityCount<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_dns_discovery.NodeCapabilityCount.html" class="tsd-signature-type" data-tsd-kind="Interface">NodeCapabilityCount</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">AsyncGenerator</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_interfaces.IEnr.html" class="tsd-signature-type" data-tsd-kind="Interface">IEnr</a><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">&gt;</span><a href="#getNextPeer.getNextPeer-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="getNextPeer.getNextPeer-1">get<wbr/>Next<wbr/>Peer<span class="tsd-signature-symbol">(</span>enrTreeUrls<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span>, wantedNodeCapabilityCount<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_dns_discovery.NodeCapabilityCount.html" class="tsd-signature-type" data-tsd-kind="Interface">NodeCapabilityCount</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AsyncGenerator" class="tsd-signature-type external" target="_blank">AsyncGenerator</a><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html" class="tsd-signature-type" data-tsd-kind="Interface">IEnr</a><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">&gt;</span><a href="#getNextPeer.getNextPeer-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 a list of verified peers listed in an EIP-1459 DNS tree. Method may
return fewer peers than requested if</p>
@ -137,13 +137,13 @@ return fewer peers than requested if</p>
<h5>enrTreeUrls: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5></li>
<li>
<h5>wantedNodeCapabilityCount: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_dns_discovery.NodeCapabilityCount.html" class="tsd-signature-type" data-tsd-kind="Interface">NodeCapabilityCount</a><span class="tsd-signature-symbol">&gt;</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">AsyncGenerator</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_interfaces.IEnr.html" class="tsd-signature-type" data-tsd-kind="Interface">IEnr</a><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">&gt;</span></h4><aside class="tsd-sources">
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AsyncGenerator" class="tsd-signature-type external" target="_blank">AsyncGenerator</a><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html" class="tsd-signature-type" data-tsd-kind="Interface">IEnr</a><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">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/dns-discovery/src/dns.ts#L87">packages/dns-discovery/src/dns.ts:87</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/dns-discovery/src/dns.ts#L87">packages/dns-discovery/src/dns.ts:87</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><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">
<li class="tsd-signature tsd-anchor-link" id="getPeers.getPeers-1">get<wbr/>Peers<span class="tsd-signature-symbol">(</span>enrTreeUrls<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span>, wantedNodeCapabilityCount<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_dns_discovery.NodeCapabilityCount.html" class="tsd-signature-type" data-tsd-kind="Interface">NodeCapabilityCount</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_interfaces.IEnr.html" class="tsd-signature-type" data-tsd-kind="Interface">IEnr</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#getPeers.getPeers-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="getPeers.getPeers-1">get<wbr/>Peers<span class="tsd-signature-symbol">(</span>enrTreeUrls<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span>, wantedNodeCapabilityCount<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_dns_discovery.NodeCapabilityCount.html" class="tsd-signature-type" data-tsd-kind="Interface">NodeCapabilityCount</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html" class="tsd-signature-type" data-tsd-kind="Interface">IEnr</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#getPeers.getPeers-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 a list of verified peers listed in an EIP-1459 DNS tree. Method may
return fewer peers than requested if</p>
@ -163,9 +163,9 @@ peers encountered by randomized search exceeds the sum of the fields of</p>
<h5>enrTreeUrls: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5></li>
<li>
<h5>wantedNodeCapabilityCount: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_dns_discovery.NodeCapabilityCount.html" class="tsd-signature-type" data-tsd-kind="Interface">NodeCapabilityCount</a><span class="tsd-signature-symbol">&gt;</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_interfaces.IEnr.html" class="tsd-signature-type" data-tsd-kind="Interface">IEnr</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html" class="tsd-signature-type" data-tsd-kind="Interface">IEnr</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/dns-discovery/src/dns.ts#L50">packages/dns-discovery/src/dns.ts:50</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/dns-discovery/src/dns.ts#L50">packages/dns-discovery/src/dns.ts:50</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="dnsOverHttp" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>dns<wbr/>Over<wbr/>Http</span><a href="#dnsOverHttp" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">
@ -178,7 +178,7 @@ peers encountered by randomized search exceeds the sum of the fields of</p>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> dnsClient: <a href="../interfaces/_waku_dns_discovery.DnsClient.html" class="tsd-signature-type" data-tsd-kind="Interface">DnsClient</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="_waku_dns_discovery.DnsNodeDiscovery.html" class="tsd-signature-type" data-tsd-kind="Class">DnsNodeDiscovery</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/dns-discovery/src/dns.ts#L36">packages/dns-discovery/src/dns.ts:36</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/dns-discovery/src/dns.ts#L36">packages/dns-discovery/src/dns.ts:36</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">
@ -189,8 +189,7 @@ peers encountered by randomized search exceeds the sum of the fields of</p>
<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>
<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></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">
@ -202,6 +201,9 @@ peers encountered by randomized search exceeds the sum of the fields of</p>
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -218,15 +220,27 @@ peers encountered by randomized search exceeds the sum of the fields of</p>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -30,7 +30,7 @@
<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/3b4bc8b2/packages/dns-discovery/src/index.ts#L55">packages/dns-discovery/src/index.ts:55</a></li></ul></aside>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/dns-discovery/src/index.ts#L60">packages/dns-discovery/src/index.ts:60</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,8 +42,7 @@
</div></section>
<section class="tsd-index-section">
<h3 class="tsd-index-heading">Properties</h3>
<div class="tsd-index-list"><a href="_waku_dns_discovery.PeerDiscoveryDns.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="_waku_dns_discovery.PeerDiscoveryDns.html#_components" 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>_components</span></a>
<div class="tsd-index-list"><a href="_waku_dns_discovery.PeerDiscoveryDns.html#_components" 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>_components</span></a>
<a href="_waku_dns_discovery.PeerDiscoveryDns.html#_options" 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>_options</span></a>
<a href="_waku_dns_discovery.PeerDiscoveryDns.html#_started" 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>_started</span></a>
<a href="_waku_dns_discovery.PeerDiscoveryDns.html#nextPeer" 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>next<wbr/>Peer</span></a>
@ -55,11 +54,7 @@
</div></section>
<section class="tsd-index-section">
<h3 class="tsd-index-heading">Methods</h3>
<div class="tsd-index-list"><a href="_waku_dns_discovery.PeerDiscoveryDns.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"><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/>Event<wbr/>Listener</span></a>
<a href="_waku_dns_discovery.PeerDiscoveryDns.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="_waku_dns_discovery.PeerDiscoveryDns.html#listenerCount" 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>listener<wbr/>Count</span></a>
<a href="_waku_dns_discovery.PeerDiscoveryDns.html#removeEventListener" 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>remove<wbr/>Event<wbr/>Listener</span></a>
<a href="_waku_dns_discovery.PeerDiscoveryDns.html#start" 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>start</span></a>
<div class="tsd-index-list"><a href="_waku_dns_discovery.PeerDiscoveryDns.html#start" 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>start</span></a>
<a href="_waku_dns_discovery.PeerDiscoveryDns.html#stop" 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>stop</span></a>
</div></section></div></details></section></section>
<section class="tsd-panel-group tsd-member-group">
@ -67,56 +62,49 @@
<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_PeerDiscoveryDns">new <wbr/>Peer<wbr/>Discovery<wbr/>Dns<span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a>, options<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_dns_discovery.Options.html" class="tsd-signature-type" data-tsd-kind="Interface">Options</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_waku_dns_discovery.PeerDiscoveryDns.html" class="tsd-signature-type" data-tsd-kind="Class">PeerDiscoveryDns</a><a href="#constructor.new_PeerDiscoveryDns" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="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="constructor.new_PeerDiscoveryDns">new <wbr/>Peer<wbr/>Discovery<wbr/>Dns<span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_dns_discovery.DnsDiscoveryComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">DnsDiscoveryComponents</a>, options<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_dns_discovery.Options.html" class="tsd-signature-type" data-tsd-kind="Interface">Options</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_waku_dns_discovery.PeerDiscoveryDns.html" class="tsd-signature-type" data-tsd-kind="Class">PeerDiscoveryDns</a><a href="#constructor.new_PeerDiscoveryDns" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="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>components: <a href="../interfaces/_waku_interfaces.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a></h5></li>
<h5>components: <a href="../interfaces/_waku_dns_discovery.DnsDiscoveryComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">DnsDiscoveryComponents</a></h5></li>
<li>
<h5>options: <a href="../interfaces/_waku_dns_discovery.Options.html" class="tsd-signature-type" data-tsd-kind="Interface">Options</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="_waku_dns_discovery.PeerDiscoveryDns.html" class="tsd-signature-type" data-tsd-kind="Class">PeerDiscoveryDns</a></h4><aside class="tsd-sources">
<p>Overrides EventEmitter&lt;PeerDiscoveryEvents&gt;.constructor</p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/dns-discovery/src/index.ts#L64">packages/dns-discovery/src/index.ts:64</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/dns-discovery/src/index.ts#L69">packages/dns-discovery/src/index.ts:69</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>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>#private</span><a href="#_private" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div><aside class="tsd-sources">
<p>Implementation of PeerDiscovery.#private</p>
<p>Inherited from EventEmitter.#private</p>
<ul>
<li>Defined in node_modules/@libp2p/interfaces/dist/src/events.d.ts:19</li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="_components" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_components</span><a href="#_components" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">_components<span class="tsd-signature-symbol">:</span> <a href="../interfaces/_waku_interfaces.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a></div><aside class="tsd-sources">
<div class="tsd-signature">_components<span class="tsd-signature-symbol">:</span> <a href="../interfaces/_waku_dns_discovery.DnsDiscoveryComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">DnsDiscoveryComponents</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/dns-discovery/src/index.ts#L61">packages/dns-discovery/src/index.ts:61</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/dns-discovery/src/index.ts#L66">packages/dns-discovery/src/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="_options" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_options</span><a href="#_options" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">_options<span class="tsd-signature-symbol">:</span> <a href="../interfaces/_waku_dns_discovery.Options.html" class="tsd-signature-type" data-tsd-kind="Interface">Options</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/dns-discovery/src/index.ts#L62">packages/dns-discovery/src/index.ts:62</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/dns-discovery/src/index.ts#L67">packages/dns-discovery/src/index.ts:67</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="_started" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>_started</span><a href="#_started" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">_started<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/3b4bc8b2/packages/dns-discovery/src/index.ts#L60">packages/dns-discovery/src/index.ts:60</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/dns-discovery/src/index.ts#L65">packages/dns-discovery/src/index.ts:65</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="nextPeer" 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>next<wbr/>Peer</span><a href="#nextPeer" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">next<wbr/>Peer<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"> =&gt; </span><span class="tsd-signature-type">AsyncGenerator</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_interfaces.IEnr.html" class="tsd-signature-type" data-tsd-kind="Interface">IEnr</a><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">&gt;</span><span class="tsd-signature-symbol">)</span></div>
<div class="tsd-signature">next<wbr/>Peer<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"> =&gt; </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AsyncGenerator" class="tsd-signature-type external" target="_blank">AsyncGenerator</a><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html" class="tsd-signature-type" data-tsd-kind="Interface">IEnr</a><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">&gt;</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-class">
<li class="tsd-signature" id="__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">AsyncGenerator</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_interfaces.IEnr.html" class="tsd-signature-type" data-tsd-kind="Interface">IEnr</a><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">&gt;</span></li>
<ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-property">
<li class="tsd-signature" id="nextPeer.__type.__type-1"><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AsyncGenerator" class="tsd-signature-type external" target="_blank">AsyncGenerator</a><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html" class="tsd-signature-type" data-tsd-kind="Interface">IEnr</a><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">&gt;</span></li>
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">AsyncGenerator</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_interfaces.IEnr.html" class="tsd-signature-type" data-tsd-kind="Interface">IEnr</a><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">&gt;</span></h4></li></ul></li></ul></div><aside class="tsd-sources">
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AsyncGenerator" class="tsd-signature-type external" target="_blank">AsyncGenerator</a><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html" class="tsd-signature-type" data-tsd-kind="Interface">IEnr</a><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">&gt;</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/3b4bc8b2/packages/dns-discovery/src/index.ts#L59">packages/dns-discovery/src/index.ts:59</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/dns-discovery/src/index.ts#L64">packages/dns-discovery/src/index.ts:64</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>
@ -125,108 +113,30 @@
<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@8191</p>
<p>Implementation of PeerDiscovery.__@symbol@8236</p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/dns-discovery/src/index.ts#L116">packages/dns-discovery/src/index.ts:116</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/dns-discovery/src/index.ts#L121">packages/dns-discovery/src/index.ts:121</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@6937</p>
<p>Implementation of PeerDiscovery.__@toStringTag@6981</p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/dns-discovery/src/index.ts#L120">packages/dns-discovery/src/index.ts:120</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/dns-discovery/src/index.ts#L125">packages/dns-discovery/src/index.ts:125</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="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">
<li class="tsd-signature tsd-anchor-link" id="addEventListener.addEventListener-1">add<wbr/>Event<wbr/>Listener<span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">K</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">K</span>, listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">EventHandler</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">PeerDiscoveryEvents</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">K</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">&gt;</span>, options<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">AddEventListenerOptions</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#addEventListener.addEventListener-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">
<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">&quot;peer&quot;</span></h4></li></ul></section>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>type: <span class="tsd-signature-type" data-tsd-kind="Type parameter">K</span></h5></li>
<li>
<h5>listener: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">EventHandler</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">PeerDiscoveryEvents</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">K</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">&gt;</span></h5></li>
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">AddEventListenerOptions</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 PeerDiscovery.addEventListener</p>
<p>Inherited from EventEmitter.addEventListener</p>
<ul>
<li>Defined in node_modules/@libp2p/interfaces/dist/src/events.d.ts:21</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">
<li class="tsd-signature tsd-anchor-link" id="dispatchEvent.dispatchEvent-1">dispatch<wbr/>Event<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Event</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#dispatchEvent.dispatchEvent-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>event: <span class="tsd-signature-type">Event</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<p>Implementation of PeerDiscovery.dispatchEvent</p>
<p>Inherited from EventEmitter.dispatchEvent</p>
<ul>
<li>Defined in node_modules/@libp2p/interfaces/dist/src/events.d.ts:23</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="listenerCount" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>listener<wbr/>Count</span><a href="#listenerCount" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">
<li class="tsd-signature tsd-anchor-link" id="listenerCount.listenerCount-1">listener<wbr/>Count<span class="tsd-signature-symbol">(</span>type<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">number</span><a href="#listenerCount.listenerCount-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>type: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<p>Implementation of PeerDiscovery.listenerCount</p>
<p>Inherited from EventEmitter.listenerCount</p>
<ul>
<li>Defined in node_modules/@libp2p/interfaces/dist/src/events.d.ts:20</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="removeEventListener" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>remove<wbr/>Event<wbr/>Listener</span><a href="#removeEventListener" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">
<li class="tsd-signature tsd-anchor-link" id="removeEventListener.removeEventListener-1">remove<wbr/>Event<wbr/>Listener<span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">K</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">K</span>, listener<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">EventHandler</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">PeerDiscoveryEvents</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">K</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">&gt;</span>, options<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">EventListenerOptions</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#removeEventListener.removeEventListener-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">
<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">&quot;peer&quot;</span></h4></li></ul></section>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>type: <span class="tsd-signature-type" data-tsd-kind="Type parameter">K</span></h5></li>
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> listener: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">EventHandler</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">PeerDiscoveryEvents</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">K</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">&gt;</span></h5></li>
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">EventListenerOptions</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 PeerDiscovery.removeEventListener</p>
<p>Inherited from EventEmitter.removeEventListener</p>
<ul>
<li>Defined in node_modules/@libp2p/interfaces/dist/src/events.d.ts:22</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">
<li class="tsd-signature tsd-anchor-link" id="start.start-1">start<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">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#start.start-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="start.start-1">start<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#start.start-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>Start discovery process</p>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/dns-discovery/src/index.ts#L86">packages/dns-discovery/src/index.ts:86</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/dns-discovery/src/index.ts#L91">packages/dns-discovery/src/index.ts:91</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">
@ -236,7 +146,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/3b4bc8b2/packages/dns-discovery/src/index.ts#L112">packages/dns-discovery/src/index.ts:112</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/dns-discovery/src/index.ts#L117">packages/dns-discovery/src/index.ts:117</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">
@ -247,8 +157,7 @@
<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>
<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></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">
@ -260,6 +169,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -276,15 +188,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>
@ -336,17 +260,12 @@
<li class="current tsd-kind-class tsd-parent-kind-module"><a href="_waku_dns_discovery.PeerDiscoveryDns.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/>Dns</span></a>
<ul>
<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="_waku_dns_discovery.PeerDiscoveryDns.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="_waku_dns_discovery.PeerDiscoveryDns.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-private"><a href="_waku_dns_discovery.PeerDiscoveryDns.html#_components" 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>_components</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="_waku_dns_discovery.PeerDiscoveryDns.html#_options" 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>_options</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="_waku_dns_discovery.PeerDiscoveryDns.html#_started" 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>_started</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="_waku_dns_discovery.PeerDiscoveryDns.html#nextPeer" 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>next<wbr/>Peer</a></li>
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="_waku_dns_discovery.PeerDiscoveryDns.html#_symbol_" 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>[symbol]</a></li>
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="_waku_dns_discovery.PeerDiscoveryDns.html#_toStringTag_" 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>[to<wbr/>String<wbr/>Tag]</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="_waku_dns_discovery.PeerDiscoveryDns.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 tsd-is-inherited tsd-is-external"><a href="_waku_dns_discovery.PeerDiscoveryDns.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="_waku_dns_discovery.PeerDiscoveryDns.html#listenerCount" 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>listener<wbr/>Count</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="_waku_dns_discovery.PeerDiscoveryDns.html#removeEventListener" 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/>Event<wbr/>Listener</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_dns_discovery.PeerDiscoveryDns.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>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_dns_discovery.PeerDiscoveryDns.html#stop" 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>stop</a></li></ul></li></ul></nav></div></div>
<div class="container tsd-generator">

View File

@ -0,0 +1,723 @@
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ENR | @waku/root</title><meta name="description" content="Documentation for @waku/root"/><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 tsd-toolbar-icon 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>
<div class="field">
<div id="tsd-toolbar-links"></div></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">@waku/root</a></div>
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon 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">@waku/root</a></li>
<li><a href="../modules/_waku_dns_discovery.html">@waku/dns-discovery</a></li>
<li><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li>
<li><a href="_waku_dns_discovery._internal_.ENR.html">ENR</a></li></ul>
<h1>Class ENR</h1></div>
<section class="tsd-panel tsd-hierarchy">
<h4>Hierarchy</h4>
<ul class="tsd-hierarchy">
<li><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map" class="tsd-signature-type external" target="_blank">Map</a><span class="tsd-signature-symbol">&lt;</span><a href="../types/_waku_dns_discovery._internal_.ENRKey.html" class="tsd-signature-type" data-tsd-kind="Type alias">ENRKey</a><span class="tsd-signature-symbol">, </span><a href="../types/_waku_dns_discovery._internal_.ENRValue.html" class="tsd-signature-type" data-tsd-kind="Type alias">ENRValue</a><span class="tsd-signature-symbol">&gt;</span>
<ul class="tsd-hierarchy">
<li><span class="target">ENR</span></li></ul></li></ul></section>
<section class="tsd-panel">
<h4>Implements</h4>
<ul class="tsd-hierarchy">
<li><a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html" class="tsd-signature-type" data-tsd-kind="Interface">IEnr</a></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:5</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="_waku_dns_discovery._internal_.ENR.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="_waku_dns_discovery._internal_.ENR.html#peerId" 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>peer<wbr/>Id?</span></a>
<a href="_waku_dns_discovery._internal_.ENR.html#seq" 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>seq</span></a>
<a href="_waku_dns_discovery._internal_.ENR.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="_waku_dns_discovery._internal_.ENR.html#RECORD_PREFIX" 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>RECORD_<wbr/>PREFIX</span></a>
</div></section>
<section class="tsd-index-section">
<h3 class="tsd-index-heading">Accessors</h3>
<div class="tsd-index-list"><a href="_waku_dns_discovery._internal_.ENR.html#id" 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>id</span></a>
<a href="_waku_dns_discovery._internal_.ENR.html#ip" 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>ip</span></a>
<a href="_waku_dns_discovery._internal_.ENR.html#ip6" 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>ip6</span></a>
<a href="_waku_dns_discovery._internal_.ENR.html#keypair" 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>keypair</span></a>
<a href="_waku_dns_discovery._internal_.ENR.html#keypairType" 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>keypair<wbr/>Type</span></a>
<a href="_waku_dns_discovery._internal_.ENR.html#multiaddrs" 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>multiaddrs</span></a>
<a href="_waku_dns_discovery._internal_.ENR.html#nodeId" 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>node<wbr/>Id</span></a>
<a href="_waku_dns_discovery._internal_.ENR.html#publicKey" 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>public<wbr/>Key</span></a>
<a href="_waku_dns_discovery._internal_.ENR.html#tcp" 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>tcp</span></a>
<a href="_waku_dns_discovery._internal_.ENR.html#tcp6" 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>tcp6</span></a>
<a href="_waku_dns_discovery._internal_.ENR.html#udp" 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>udp</span></a>
<a href="_waku_dns_discovery._internal_.ENR.html#udp6" 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>udp6</span></a>
<a href="_waku_dns_discovery._internal_.ENR.html#waku2" 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>waku2</span></a>
</div></section>
<section class="tsd-index-section">
<h3 class="tsd-index-heading">Methods</h3>
<div class="tsd-index-list"><a href="_waku_dns_discovery._internal_.ENR.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="_waku_dns_discovery._internal_.ENR.html#encodeToValues" 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/>To<wbr/>Values</span></a>
<a href="_waku_dns_discovery._internal_.ENR.html#encodeTxt" 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/>Txt</span></a>
<a href="_waku_dns_discovery._internal_.ENR.html#getFullMultiaddr" 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/>Full<wbr/>Multiaddr</span></a>
<a href="_waku_dns_discovery._internal_.ENR.html#getFullMultiaddrs" 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/>Full<wbr/>Multiaddrs</span></a>
<a href="_waku_dns_discovery._internal_.ENR.html#getLocationMultiaddr" 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/>Location<wbr/>Multiaddr</span></a>
<a href="_waku_dns_discovery._internal_.ENR.html#set" 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>set</span></a>
<a href="_waku_dns_discovery._internal_.ENR.html#setLocationMultiaddr" 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>set<wbr/>Location<wbr/>Multiaddr</span></a>
<a href="_waku_dns_discovery._internal_.ENR.html#sign" 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>sign</span></a>
<a href="_waku_dns_discovery._internal_.ENR.html#verify" 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>verify</span></a>
<a href="_waku_dns_discovery._internal_.ENR.html#create" 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>create</span></a>
<a href="_waku_dns_discovery._internal_.ENR.html#createFromPeerId" 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>create<wbr/>From<wbr/>Peer<wbr/>Id</span></a>
<a href="_waku_dns_discovery._internal_.ENR.html#createV4" 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>create<wbr/>V4</span></a>
<a href="_waku_dns_discovery._internal_.ENR.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="_waku_dns_discovery._internal_.ENR.html#decodeFromValues" 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/>From<wbr/>Values</span></a>
<a href="_waku_dns_discovery._internal_.ENR.html#decodeTxt" 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/>Txt</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_ENR">new ENR<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_waku_dns_discovery._internal_.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><a href="#constructor.new_ENR" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="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="_waku_dns_discovery._internal_.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a></h4><aside class="tsd-sources">
<p>Overrides Map&lt;ENRKey, ENRValue&gt;.constructor</p>
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:10</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="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">
<p>Implementation of <a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html#peerId">peerId</a></p>
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:9</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">
<p>Implementation of <a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html#seq">seq</a></p>
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:7</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> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></div><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html#signature">signature</a></p>
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:8</li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="RECORD_PREFIX" 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>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">&quot;enr:&quot;</span><span class="tsd-signature-symbol"> = &quot;enr:&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:6</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="id" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>id</span><a href="#id" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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="id.id-1"><span class="tsd-signature-symbol">get</span> id<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/_waku_dns_discovery._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html#id">id</a></p>
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:18</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">
<li class="tsd-signature" id="ip.ip-1"><span class="tsd-signature-symbol">get</span> ip<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/_waku_dns_discovery._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html#ip">ip</a></p>
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:23</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">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<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">
<p>Implementation of <a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html#ip">ip</a></p>
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:24</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">
<li class="tsd-signature" id="ip6.ip6-1"><span class="tsd-signature-symbol">get</span> ip6<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/_waku_dns_discovery._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html#ip6">ip6</a></p>
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:29</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">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<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">
<p>Implementation of <a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html#ip6">ip6</a></p>
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:30</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">
<li class="tsd-signature" id="keypair.keypair-1"><span class="tsd-signature-symbol">get</span> keypair<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><a href="../interfaces/_waku_dns_discovery._internal_.IKeypair.html" class="tsd-signature-type" data-tsd-kind="Interface">IKeypair</a></li>
<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/_waku_dns_discovery._internal_.IKeypair.html" class="tsd-signature-type" data-tsd-kind="Interface">IKeypair</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:21</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">
<li class="tsd-signature" id="keypairType.keypairType-1"><span class="tsd-signature-symbol">get</span> keypairType<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../enums/_waku_dns_discovery._internal_.KeypairType.html" class="tsd-signature-type" data-tsd-kind="Enumeration">KeypairType</a></li>
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <a href="../enums/_waku_dns_discovery._internal_.KeypairType.html" class="tsd-signature-type" data-tsd-kind="Enumeration">KeypairType</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:19</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">
<li class="tsd-signature" id="multiaddrs.multiaddrs-1"><span class="tsd-signature-symbol">get</span> multiaddrs<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">Multiaddr</span><span class="tsd-signature-symbol">[]</span></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Get the <code>multiaddrs</code> field from ENR.</p>
<p>This field is used to store multiaddresses that cannot be stored with the current ENR pre-defined keys.
These can be a multiaddresses that include encapsulation (e.g. wss) or do not use <code>ip4</code> nor <code>ip6</code> for the host
address (e.g. <code>dns4</code>, <code>dnsaddr</code>, etc)..</p>
<p>If the peer information only contains information that can be represented with the ENR pre-defined keys
(ip, tcp, etc) then the usage of <a href="_waku_dns_discovery._internal_.ENR.html#getLocationMultiaddr">getLocationMultiaddr</a> should be preferred.</p>
<p>The multiaddresses stored in this field are expected to be location multiaddresses, ie, peer id less.</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">
<p>Implementation of <a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html#multiaddrs">multiaddrs</a></p>
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:47</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>
<p>This field is used to store multiaddresses that cannot be stored with the current ENR pre-defined keys.
These can be a multiaddresses that include encapsulation (e.g. wss) or do not use <code>ip4</code> nor <code>ip6</code> for the host
address (e.g. <code>dns4</code>, <code>dnsaddr</code>, etc)..</p>
<p>If the peer information only contains information that can be represented with the ENR pre-defined keys
(ip, tcp, etc) then the usage of <a href="_waku_dns_discovery._internal_.ENR.html#setLocationMultiaddr">setLocationMultiaddr</a> should be preferred.
The multiaddresses stored in this field must be location multiaddresses,
ie, without a peer id.</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<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">
<p>Implementation of <a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html#multiaddrs">multiaddrs</a></p>
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:60</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">
<li class="tsd-signature" id="nodeId.nodeId-1"><span class="tsd-signature-symbol">get</span> nodeId<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/_waku_dns_discovery._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html#nodeId">nodeId</a></p>
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:22</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">
<li class="tsd-signature" id="publicKey.publicKey-1"><span class="tsd-signature-symbol">get</span> publicKey<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><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></li>
<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="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html#publicKey">publicKey</a></p>
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:20</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">
<li class="tsd-signature" id="tcp.tcp-1"><span class="tsd-signature-symbol">get</span> tcp<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">number</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">number</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html#tcp">tcp</a></p>
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:25</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">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<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">
<p>Implementation of <a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html#tcp">tcp</a></p>
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:26</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">
<li class="tsd-signature" id="tcp6.tcp6-1"><span class="tsd-signature-symbol">get</span> tcp6<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">number</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">number</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html#tcp6">tcp6</a></p>
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:31</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">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<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">
<p>Implementation of <a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html#tcp6">tcp6</a></p>
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:32</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">
<li class="tsd-signature" id="udp.udp-1"><span class="tsd-signature-symbol">get</span> udp<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">number</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">number</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html#udp">udp</a></p>
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:27</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">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<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">
<p>Implementation of <a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html#udp">udp</a></p>
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:28</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">
<li class="tsd-signature" id="udp6.udp6-1"><span class="tsd-signature-symbol">get</span> udp6<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">number</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">number</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html#udp6">udp6</a></p>
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:33</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">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<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">
<p>Implementation of <a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html#udp6">udp6</a></p>
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:34</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">
<li class="tsd-signature" id="waku2.waku2-1"><span class="tsd-signature-symbol">get</span> waku2<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><a href="../interfaces/_waku_dns_discovery._internal_.Waku2.html" class="tsd-signature-type" data-tsd-kind="Interface">Waku2</a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Get the <code>waku2</code> field from ENR.</p>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_waku_dns_discovery._internal_.Waku2.html" class="tsd-signature-type" data-tsd-kind="Interface">Waku2</a></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html#waku2">waku2</a></p>
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:79</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/_waku_dns_discovery._internal_.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>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>waku2: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_waku_dns_discovery._internal_.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">
<p>Implementation of <a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html#waku2">waku2</a></p>
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:83</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>privateKey<span class="tsd-signature-symbol">?: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">&gt;</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><code class="tsd-tag ts-flagOptional">Optional</code> privateKey: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html#encode">encode</a></p>
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:87</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">
<li class="tsd-signature tsd-anchor-link" id="encodeToValues.encodeToValues-1">encode<wbr/>To<wbr/>Values<span class="tsd-signature-symbol">(</span>privateKey<span class="tsd-signature-symbol">?: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><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">&gt;</span><a href="#encodeToValues.encodeToValues-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><code class="tsd-tag ts-flagOptional">Optional</code> privateKey: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><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">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:86</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">
<li class="tsd-signature tsd-anchor-link" id="encodeTxt.encodeTxt-1">encode<wbr/>Txt<span class="tsd-signature-symbol">(</span>privateKey<span class="tsd-signature-symbol">?: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><a href="#encodeTxt.encodeTxt-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><code class="tsd-tag ts-flagOptional">Optional</code> privateKey: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:88</li></ul></aside></li></ul></section>
<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">&quot;udp&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;udp4&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;udp6&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;tcp&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;tcp4&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;tcp6&quot;</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.
To return full multiaddrs from the <code>multiaddrs</code> ENR field,
use <a href="_waku_dns_discovery._internal_.ENR.html#getFullMultiaddrs">getFullMultiaddrs</a>.</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>protocol: <span class="tsd-signature-type">&quot;udp&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;udp4&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;udp6&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;tcp&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;tcp4&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;tcp6&quot;</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 packages/enr/dist/enr.d.ts:71</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">
<li class="tsd-signature tsd-anchor-link" id="getFullMultiaddrs.getFullMultiaddrs-1">get<wbr/>Full<wbr/>Multiaddrs<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Multiaddr</span><span class="tsd-signature-symbol">[]</span><a href="#getFullMultiaddrs.getFullMultiaddrs-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 multiaddrs from the <code>multiaddrs</code> ENR field.</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">
<p>Implementation of <a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_dns_discovery._internal_.IEnr.html#getFullMultiaddrs">getFullMultiaddrs</a></p>
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:75</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">&quot;udp&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;udp4&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;udp6&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;tcp&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;tcp4&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;tcp6&quot;</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">&quot;udp&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;udp4&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;udp6&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;tcp&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;tcp4&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;tcp6&quot;</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 packages/enr/dist/enr.d.ts:61</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="set" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>set</span><a href="#set" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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="set.set-1">set<span class="tsd-signature-symbol">(</span>k<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, v<span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_waku_dns_discovery._internal_.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><a href="#set.set-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>k: <span class="tsd-signature-type">string</span></h5></li>
<li>
<h5>v: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="_waku_dns_discovery._internal_.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a></h4><aside class="tsd-sources">
<p>Implementation of IEnr.set</p>
<p>Overrides Map.set</p>
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:17</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">
<li class="tsd-signature tsd-anchor-link" id="setLocationMultiaddr.setLocationMultiaddr-1">set<wbr/>Location<wbr/>Multiaddr<span class="tsd-signature-symbol">(</span>multiaddr<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">void</span><a href="#setLocationMultiaddr.setLocationMultiaddr-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>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 packages/enr/dist/enr.d.ts:62</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">
<li class="tsd-signature tsd-anchor-link" id="sign.sign-1">sign<span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a>, privateKey<span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">&gt;</span><a href="#sign.sign-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>data: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li>
<li>
<h5>privateKey: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:85</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="verify" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>verify</span><a href="#verify" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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="verify.verify-1">verify<span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a>, signature<span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#verify.verify-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>data: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li>
<li>
<h5>signature: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></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 packages/enr/dist/enr.d.ts:84</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">
<li class="tsd-signature tsd-anchor-link" id="create.create-1">create<span class="tsd-signature-symbol">(</span>kvs<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">&gt;</span>, seq<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">bigint</span>, signature<span class="tsd-signature-symbol">?: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="_waku_dns_discovery._internal_.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span><a href="#create.create-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><code class="tsd-tag ts-flagOptional">Optional</code> kvs: <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">&gt;</span></h5></li>
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> seq: <span class="tsd-signature-type">bigint</span></h5></li>
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> signature: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="_waku_dns_discovery._internal_.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:11</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">
<li class="tsd-signature tsd-anchor-link" id="createFromPeerId.createFromPeerId-1">create<wbr/>From<wbr/>Peer<wbr/>Id<span class="tsd-signature-symbol">(</span>peerId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PeerId</span>, kvs<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="_waku_dns_discovery._internal_.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span><a href="#createFromPeerId.createFromPeerId-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>peerId: <span class="tsd-signature-type">PeerId</span></h5></li>
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> kvs: <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">&gt;</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="_waku_dns_discovery._internal_.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:13</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">
<li class="tsd-signature tsd-anchor-link" id="createV4.createV4-1">create<wbr/>V4<span class="tsd-signature-symbol">(</span>publicKey<span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a>, kvs<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="_waku_dns_discovery._internal_.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span><a href="#createV4.createV4-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>publicKey: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li>
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> kvs: <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">&gt;</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="_waku_dns_discovery._internal_.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:12</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>encoded<span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="_waku_dns_discovery._internal_.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</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>encoded: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="_waku_dns_discovery._internal_.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:15</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">
<li class="tsd-signature tsd-anchor-link" id="decodeFromValues.decodeFromValues-1">decode<wbr/>From<wbr/>Values<span class="tsd-signature-symbol">(</span>decoded<span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="_waku_dns_discovery._internal_.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span><a href="#decodeFromValues.decodeFromValues-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>decoded: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="_waku_dns_discovery._internal_.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:14</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">
<li class="tsd-signature tsd-anchor-link" id="decodeTxt.decodeTxt-1">decode<wbr/>Txt<span class="tsd-signature-symbol">(</span>encoded<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="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="_waku_dns_discovery._internal_.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span><a href="#decodeTxt.decodeTxt-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>encoded: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="_waku_dns_discovery._internal_.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in packages/enr/dist/enr.d.ts:16</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></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">@waku/root</a>
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.html">version_<wbr/>0</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.html">proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li></ul></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku.html">waku</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_filter.html">waku_<wbr/>filter</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="current tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_filter.html">proto_<wbr/>filter</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRPC.html">FilterRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRequest.html">Filter<wbr/>Request</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRequest.ContentFilter.html">Content<wbr/>Filter</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.MessagePush.html">Message<wbr/>Push</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_lightpush.html">proto_<wbr/>lightpush</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushRPC.html">PushRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushRequest.html">Push<wbr/>Request</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushResponse.html">Push<wbr/>Response</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_message.html">proto_<wbr/>message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_message.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_peer_exchange.html">proto_<wbr/>peer_<wbr/>exchange</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeQuery.html">Peer<wbr/>Exchange<wbr/>Query</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeRPC.html">Peer<wbr/>ExchangeRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeResponse.html">Peer<wbr/>Exchange<wbr/>Response</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerInfo.html">Peer<wbr/>Info</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_store.html">proto_<wbr/>store</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.ContentFilter.html">Content<wbr/>Filter</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryQuery.html">History<wbr/>Query</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryRPC.html">HistoryRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryResponse.html">History<wbr/>Response</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryResponse.HistoryError.html">History<wbr/>Error</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.Index.html">Index</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.PagingInfo.html">Paging<wbr/>Info</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.PagingInfo.Direction.html">Direction</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.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/_waku_proto.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_utils.html">@waku/utils</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="_waku_dns_discovery._internal_.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>
<ul>
<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-private"><a href="_waku_dns_discovery._internal_.ENR.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="_waku_dns_discovery._internal_.ENR.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>
<li class="tsd-kind-property tsd-parent-kind-class"><a href="_waku_dns_discovery._internal_.ENR.html#seq" 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>seq</a></li>
<li class="tsd-kind-property tsd-parent-kind-class"><a href="_waku_dns_discovery._internal_.ENR.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="_waku_dns_discovery._internal_.ENR.html#RECORD_PREFIX" 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>RECORD_<wbr/>PREFIX</a></li>
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="_waku_dns_discovery._internal_.ENR.html#id" 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>id</a></li>
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="_waku_dns_discovery._internal_.ENR.html#ip" 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>ip</a></li>
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="_waku_dns_discovery._internal_.ENR.html#ip6" 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>ip6</a></li>
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="_waku_dns_discovery._internal_.ENR.html#keypair" 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>keypair</a></li>
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="_waku_dns_discovery._internal_.ENR.html#keypairType" 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>keypair<wbr/>Type</a></li>
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="_waku_dns_discovery._internal_.ENR.html#multiaddrs" 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>multiaddrs</a></li>
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="_waku_dns_discovery._internal_.ENR.html#nodeId" 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>node<wbr/>Id</a></li>
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="_waku_dns_discovery._internal_.ENR.html#publicKey" 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>public<wbr/>Key</a></li>
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="_waku_dns_discovery._internal_.ENR.html#tcp" 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>tcp</a></li>
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="_waku_dns_discovery._internal_.ENR.html#tcp6" 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>tcp6</a></li>
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="_waku_dns_discovery._internal_.ENR.html#udp" 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>udp</a></li>
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="_waku_dns_discovery._internal_.ENR.html#udp6" 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>udp6</a></li>
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="_waku_dns_discovery._internal_.ENR.html#waku2" 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>waku2</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_dns_discovery._internal_.ENR.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="_waku_dns_discovery._internal_.ENR.html#encodeToValues" 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/>To<wbr/>Values</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_dns_discovery._internal_.ENR.html#encodeTxt" 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/>Txt</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_dns_discovery._internal_.ENR.html#getFullMultiaddr" 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/>Full<wbr/>Multiaddr</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_dns_discovery._internal_.ENR.html#getFullMultiaddrs" 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/>Full<wbr/>Multiaddrs</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_dns_discovery._internal_.ENR.html#getLocationMultiaddr" 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/>Location<wbr/>Multiaddr</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_dns_discovery._internal_.ENR.html#set" 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>set</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_dns_discovery._internal_.ENR.html#setLocationMultiaddr" 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>set<wbr/>Location<wbr/>Multiaddr</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_dns_discovery._internal_.ENR.html#sign" 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>sign</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_dns_discovery._internal_.ENR.html#verify" 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>verify</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_dns_discovery._internal_.ENR.html#create" 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>create</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_dns_discovery._internal_.ENR.html#createFromPeerId" 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>create<wbr/>From<wbr/>Peer<wbr/>Id</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_dns_discovery._internal_.ENR.html#createV4" 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>create<wbr/>V4</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_dns_discovery._internal_.ENR.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="_waku_dns_discovery._internal_.ENR.html#decodeFromValues" 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/>From<wbr/>Values</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_dns_discovery._internal_.ENR.html#decodeTxt" 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/>Txt</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>

View File

@ -19,15 +19,15 @@
<section class="tsd-panel tsd-hierarchy">
<h4>Hierarchy</h4>
<ul class="tsd-hierarchy">
<li><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_waku_interfaces.ENRKey.html" class="tsd-signature-type" data-tsd-kind="Type alias">ENRKey</a><span class="tsd-signature-symbol">, </span><a href="../types/_waku_interfaces.ENRValue.html" class="tsd-signature-type" data-tsd-kind="Type alias">ENRValue</a><span class="tsd-signature-symbol">&gt;</span>
<li><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map" class="tsd-signature-type external" target="_blank">Map</a><span class="tsd-signature-symbol">&lt;</span><a href="../types/_waku_enr._internal_.ENRKey.html" class="tsd-signature-type" data-tsd-kind="Type alias">ENRKey</a><span class="tsd-signature-symbol">, </span><a href="../types/_waku_enr._internal_.ENRValue.html" class="tsd-signature-type" data-tsd-kind="Type alias">ENRValue</a><span class="tsd-signature-symbol">&gt;</span>
<ul class="tsd-hierarchy">
<li><span class="target">ENR</span></li></ul></li></ul></section>
<section class="tsd-panel">
<h4>Implements</h4>
<ul class="tsd-hierarchy">
<li><a href="../interfaces/_waku_interfaces.IEnr.html" class="tsd-signature-type" data-tsd-kind="Interface">IEnr</a></li></ul></section><aside class="tsd-sources">
<li><a href="../interfaces/_waku_enr._internal_.IEnr.html" class="tsd-signature-type" data-tsd-kind="Interface">IEnr</a></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L41">packages/enr/src/enr.ts:41</a></li></ul></aside>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L41">packages/enr/src/enr.ts:41</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -39,13 +39,10 @@
</div></section>
<section class="tsd-index-section">
<h3 class="tsd-index-heading">Properties</h3>
<div class="tsd-index-list"><a href="_waku_enr.ENR.html#_toStringTag_" 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"><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>[to<wbr/>String<wbr/>Tag]</span></a>
<a href="_waku_enr.ENR.html#peerId" 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>peer<wbr/>Id?</span></a>
<div class="tsd-index-list"><a href="_waku_enr.ENR.html#peerId" 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>peer<wbr/>Id?</span></a>
<a href="_waku_enr.ENR.html#seq" 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>seq</span></a>
<a href="_waku_enr.ENR.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="_waku_enr.ENR.html#size" 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>size</span></a>
<a href="_waku_enr.ENR.html#RECORD_PREFIX" 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>RECORD_<wbr/>PREFIX</span></a>
<a href="_waku_enr.ENR.html#_species_" 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>[species]</span></a>
</div></section>
<section class="tsd-index-section">
<h3 class="tsd-index-heading">Accessors</h3>
@ -65,24 +62,15 @@
</div></section>
<section class="tsd-index-section">
<h3 class="tsd-index-heading">Methods</h3>
<div class="tsd-index-list"><a href="_waku_enr.ENR.html#_iterator_" 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>[iterator]</span></a>
<a href="_waku_enr.ENR.html#clear" 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>clear</span></a>
<a href="_waku_enr.ENR.html#delete" 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>delete</span></a>
<a href="_waku_enr.ENR.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"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>encode</span></a>
<div class="tsd-index-list"><a href="_waku_enr.ENR.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="_waku_enr.ENR.html#encodeToValues" 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/>To<wbr/>Values</span></a>
<a href="_waku_enr.ENR.html#encodeTxt" 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/>Txt</span></a>
<a href="_waku_enr.ENR.html#entries" 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>entries</span></a>
<a href="_waku_enr.ENR.html#forEach" 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>for<wbr/>Each</span></a>
<a href="_waku_enr.ENR.html#get" 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>get</span></a>
<a href="_waku_enr.ENR.html#getFullMultiaddr" 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/>Full<wbr/>Multiaddr</span></a>
<a href="_waku_enr.ENR.html#getFullMultiaddrs" 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/>Full<wbr/>Multiaddrs</span></a>
<a href="_waku_enr.ENR.html#getLocationMultiaddr" 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/>Location<wbr/>Multiaddr</span></a>
<a href="_waku_enr.ENR.html#has" 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>has</span></a>
<a href="_waku_enr.ENR.html#keys" 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>keys</span></a>
<a href="_waku_enr.ENR.html#set" 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>set</span></a>
<a href="_waku_enr.ENR.html#setLocationMultiaddr" 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>set<wbr/>Location<wbr/>Multiaddr</span></a>
<a href="_waku_enr.ENR.html#sign" 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>sign</span></a>
<a href="_waku_enr.ENR.html#values" 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>values</span></a>
<a href="_waku_enr.ENR.html#verify" 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>verify</span></a>
<a href="_waku_enr.ENR.html#create" 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>create</span></a>
<a href="_waku_enr.ENR.html#createFromPeerId" 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>create<wbr/>From<wbr/>Peer<wbr/>Id</span></a>
@ -96,69 +84,46 @@
<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_ENR">new ENR<span class="tsd-signature-symbol">(</span>kvs<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</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">&gt;</span>, seq<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">bigint</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="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><a href="#constructor.new_ENR" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="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="constructor.new_ENR">new ENR<span class="tsd-signature-symbol">(</span>kvs<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">&gt;</span>, seq<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">bigint</span>, signature<span class="tsd-signature-symbol">?: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><a href="#constructor.new_ENR" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="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>kvs: <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</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">&gt;</span><span class="tsd-signature-symbol"> = {}</span></h5></li>
<h5>kvs: <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = {}</span></h5></li>
<li>
<h5>seq: <span class="tsd-signature-type">bigint</span><span class="tsd-signature-symbol"> = ...</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>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> signature: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a></h4><aside class="tsd-sources">
<p>Overrides Map&lt;ENRKey, ENRValue&gt;.constructor</p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L47">packages/enr/src/enr.ts:47</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L47">packages/enr/src/enr.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-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>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#_toStringTag_">[toStringTag]</a></p>
<p>Inherited from Map.__@toStringTag@2005</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">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#peerId">peerId</a></p>
<p>Implementation of <a href="../interfaces/_waku_enr._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_enr._internal_.IEnr.html#peerId">peerId</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L45">packages/enr/src/enr.ts:45</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L45">packages/enr/src/enr.ts:45</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">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#seq">seq</a></p>
<p>Implementation of <a href="../interfaces/_waku_enr._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_enr._internal_.IEnr.html#seq">seq</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L43">packages/enr/src/enr.ts:43</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L43">packages/enr/src/enr.ts:43</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">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#signature">signature</a></p>
<div class="tsd-signature">signature<span class="tsd-signature-symbol">?:</span> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></div><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_enr._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_enr._internal_.IEnr.html#signature">signature</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L44">packages/enr/src/enr.ts:44</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>
<div class="tsd-comment tsd-typography">
<h3>Returns</h3><p>the number of elements in the Map.</p>
</div><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#size">size</a></p>
<p>Inherited from Map.size</p>
<ul>
<li>Defined in node_modules/typescript/lib/lib.es2015.collection.d.ts:48</li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L44">packages/enr/src/enr.ts:44</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="RECORD_PREFIX" 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>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">&quot;enr:&quot;</span><span class="tsd-signature-symbol"> = &quot;enr:&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L42">packages/enr/src/enr.ts:42</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@2613</p>
<ul>
<li>Defined in node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts:317</li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L42">packages/enr/src/enr.ts:42</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="id" class="tsd-anchor"></a>
@ -167,18 +132,18 @@
<li class="tsd-signature" id="id.id-1"><span class="tsd-signature-symbol">get</span> id<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/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#id">id</a></p>
<p>Implementation of <a href="../interfaces/_waku_enr._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_enr._internal_.IEnr.html#id">id</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L160">packages/enr/src/enr.ts:160</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L160">packages/enr/src/enr.ts:160</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">
<li class="tsd-signature" id="ip.ip-1"><span class="tsd-signature-symbol">get</span> ip<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/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#ip">ip</a></p>
<p>Implementation of <a href="../interfaces/_waku_enr._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_enr._internal_.IEnr.html#ip">ip</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L201">packages/enr/src/enr.ts:201</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L201">packages/enr/src/enr.ts:201</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">
@ -187,18 +152,18 @@
<li>
<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">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#ip">ip</a></p>
<p>Implementation of <a href="../interfaces/_waku_enr._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_enr._internal_.IEnr.html#ip">ip</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L210">packages/enr/src/enr.ts:210</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L210">packages/enr/src/enr.ts:210</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">
<li class="tsd-signature" id="ip6.ip6-1"><span class="tsd-signature-symbol">get</span> ip6<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/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#ip6">ip6</a></p>
<p>Implementation of <a href="../interfaces/_waku_enr._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_enr._internal_.IEnr.html#ip6">ip6</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L252">packages/enr/src/enr.ts:252</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L252">packages/enr/src/enr.ts:252</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">
@ -207,9 +172,9 @@
<li>
<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">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#ip6">ip6</a></p>
<p>Implementation of <a href="../interfaces/_waku_enr._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_enr._internal_.IEnr.html#ip6">ip6</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L261">packages/enr/src/enr.ts:261</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L261">packages/enr/src/enr.ts:261</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">
@ -217,7 +182,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/_waku_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/3b4bc8b2/packages/enr/src/enr.ts#L184">packages/enr/src/enr.ts:184</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L184">packages/enr/src/enr.ts:184</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">
@ -225,7 +190,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <a href="../enums/_waku_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/3b4bc8b2/packages/enr/src/enr.ts#L166">packages/enr/src/enr.ts:166</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L166">packages/enr/src/enr.ts:166</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">
@ -240,9 +205,9 @@ address (e.g. <code>dns4</code>, <code>dnsaddr</code>, etc)..</p>
<p>The multiaddresses stored in this field are expected to be location multiaddresses, ie, peer id less.</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">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#multiaddrs">multiaddrs</a></p>
<p>Implementation of <a href="../interfaces/_waku_enr._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_enr._internal_.IEnr.html#multiaddrs">multiaddrs</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L315">packages/enr/src/enr.ts:315</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L315">packages/enr/src/enr.ts:315</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>
@ -260,36 +225,36 @@ ie, without a peer id.</p>
<li>
<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">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#multiaddrs">multiaddrs</a></p>
<p>Implementation of <a href="../interfaces/_waku_enr._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_enr._internal_.IEnr.html#multiaddrs">multiaddrs</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L335">packages/enr/src/enr.ts:335</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L335">packages/enr/src/enr.ts:335</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">
<li class="tsd-signature" id="nodeId.nodeId-1"><span class="tsd-signature-symbol">get</span> nodeId<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/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#nodeId">nodeId</a></p>
<p>Implementation of <a href="../interfaces/_waku_enr._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_enr._internal_.IEnr.html#nodeId">nodeId</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L192">packages/enr/src/enr.ts:192</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L192">packages/enr/src/enr.ts:192</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">
<li class="tsd-signature" id="publicKey.publicKey-1"><span class="tsd-signature-symbol">get</span> publicKey<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-signature" id="publicKey.publicKey-1"><span class="tsd-signature-symbol">get</span> publicKey<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><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></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/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#publicKey">publicKey</a></p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_enr._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_enr._internal_.IEnr.html#publicKey">publicKey</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L175">packages/enr/src/enr.ts:175</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L175">packages/enr/src/enr.ts:175</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">
<li class="tsd-signature" id="tcp.tcp-1"><span class="tsd-signature-symbol">get</span> tcp<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">number</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">number</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#tcp">tcp</a></p>
<p>Implementation of <a href="../interfaces/_waku_enr._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_enr._internal_.IEnr.html#tcp">tcp</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L218">packages/enr/src/enr.ts:218</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L218">packages/enr/src/enr.ts:218</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">
@ -298,18 +263,18 @@ ie, without a peer id.</p>
<li>
<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">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#tcp">tcp</a></p>
<p>Implementation of <a href="../interfaces/_waku_enr._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_enr._internal_.IEnr.html#tcp">tcp</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L227">packages/enr/src/enr.ts:227</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L227">packages/enr/src/enr.ts:227</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">
<li class="tsd-signature" id="tcp6.tcp6-1"><span class="tsd-signature-symbol">get</span> tcp6<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">number</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">number</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#tcp6">tcp6</a></p>
<p>Implementation of <a href="../interfaces/_waku_enr._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_enr._internal_.IEnr.html#tcp6">tcp6</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L269">packages/enr/src/enr.ts:269</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L269">packages/enr/src/enr.ts:269</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">
@ -318,18 +283,18 @@ ie, without a peer id.</p>
<li>
<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">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#tcp6">tcp6</a></p>
<p>Implementation of <a href="../interfaces/_waku_enr._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_enr._internal_.IEnr.html#tcp6">tcp6</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L278">packages/enr/src/enr.ts:278</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L278">packages/enr/src/enr.ts:278</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">
<li class="tsd-signature" id="udp.udp-1"><span class="tsd-signature-symbol">get</span> udp<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">number</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">number</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#udp">udp</a></p>
<p>Implementation of <a href="../interfaces/_waku_enr._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_enr._internal_.IEnr.html#udp">udp</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L235">packages/enr/src/enr.ts:235</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L235">packages/enr/src/enr.ts:235</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">
@ -338,18 +303,18 @@ ie, without a peer id.</p>
<li>
<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">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#udp">udp</a></p>
<p>Implementation of <a href="../interfaces/_waku_enr._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_enr._internal_.IEnr.html#udp">udp</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L244">packages/enr/src/enr.ts:244</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L244">packages/enr/src/enr.ts:244</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">
<li class="tsd-signature" id="udp6.udp6-1"><span class="tsd-signature-symbol">get</span> udp6<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">number</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">number</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#udp6">udp6</a></p>
<p>Implementation of <a href="../interfaces/_waku_enr._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_enr._internal_.IEnr.html#udp6">udp6</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L286">packages/enr/src/enr.ts:286</a></li></ul></aside></li>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L286">packages/enr/src/enr.ts:286</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">
@ -358,21 +323,21 @@ ie, without a peer id.</p>
<li>
<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">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#udp6">udp6</a></p>
<p>Implementation of <a href="../interfaces/_waku_enr._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_enr._internal_.IEnr.html#udp6">udp6</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L295">packages/enr/src/enr.ts:295</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L295">packages/enr/src/enr.ts:295</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">
<li class="tsd-signature" id="waku2.waku2-1"><span class="tsd-signature-symbol">get</span> waku2<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><a href="../interfaces/_waku_interfaces.Waku2.html" class="tsd-signature-type" data-tsd-kind="Interface">Waku2</a></li>
<li class="tsd-signature" id="waku2.waku2-1"><span class="tsd-signature-symbol">get</span> waku2<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><a href="../interfaces/_waku_enr._internal_.Waku2.html" class="tsd-signature-type" data-tsd-kind="Interface">Waku2</a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Get the <code>waku2</code> field from ENR.</p>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_waku_interfaces.Waku2.html" class="tsd-signature-type" data-tsd-kind="Interface">Waku2</a></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#waku2">waku2</a></p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_waku_enr._internal_.Waku2.html" class="tsd-signature-type" data-tsd-kind="Interface">Waku2</a></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_enr._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_enr._internal_.IEnr.html#waku2">waku2</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L448">packages/enr/src/enr.ts:448</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/_waku_interfaces.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>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L448">packages/enr/src/enr.ts:448</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/_waku_enr._internal_.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>
</div>
@ -380,158 +345,53 @@ ie, without a peer id.</p>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>waku2: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_waku_interfaces.Waku2.html" class="tsd-signature-type" data-tsd-kind="Interface">Waku2</a></h5></li></ul></div>
<h5>waku2: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_waku_enr._internal_.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">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#waku2">waku2</a></p>
<p>Implementation of <a href="../interfaces/_waku_enr._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_enr._internal_.IEnr.html#waku2">waku2</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L458">packages/enr/src/enr.ts:458</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L458">packages/enr/src/enr.ts:458</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>
<h3 class="tsd-anchor-link"><span>[iterator]</span><a href="#_iterator_" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">
<li class="tsd-signature tsd-anchor-link" id="_iterator_._iterator_-1">[iterator]<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">IterableIterator</span><span class="tsd-signature-symbol">&lt;</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">&gt;</span><a href="#_iterator_._iterator_-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 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">&lt;</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">&gt;</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#_iterator_">[iterator]</a></p>
<p>Inherited from Map.__@iterator@2003</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>
<h3 class="tsd-anchor-link"><span>clear</span><a href="#clear" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">
<li class="tsd-signature tsd-anchor-link" id="clear.clear-1">clear<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="#clear.clear-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">void</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#clear">clear</a></p>
<p>Inherited from Map.clear</p>
<ul>
<li>Defined in node_modules/typescript/lib/lib.es2015.collection.d.ts:23</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="delete" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>delete</span><a href="#delete" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">
<li class="tsd-signature tsd-anchor-link" id="delete.delete-1">delete<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-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#delete.delete-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>true if an element in the Map existed and has been removed, or false if the element does not exist.</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></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#delete">delete</a></p>
<p>Inherited from Map.delete</p>
<ul>
<li>Defined in node_modules/typescript/lib/lib.es2015.collection.d.ts:27</li></ul></aside></li></ul></section>
<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>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><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span><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-signature tsd-anchor-link" id="encode.encode-1">encode<span class="tsd-signature-symbol">(</span>privateKey<span class="tsd-signature-symbol">?: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">&gt;</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><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">&lt;</span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#encode">encode</a></p>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> privateKey: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_enr._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_enr._internal_.IEnr.html#encode">encode</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L511">packages/enr/src/enr.ts:511</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L511">packages/enr/src/enr.ts:511</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">
<li class="tsd-signature tsd-anchor-link" id="encodeToValues.encodeToValues-1">encode<wbr/>To<wbr/>Values<span class="tsd-signature-symbol">(</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><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</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">&gt;</span><a href="#encodeToValues.encodeToValues-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="encodeToValues.encodeToValues-1">encode<wbr/>To<wbr/>Values<span class="tsd-signature-symbol">(</span>privateKey<span class="tsd-signature-symbol">?: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><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">&gt;</span><a href="#encodeToValues.encodeToValues-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><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">&lt;</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">&gt;</span></h4><aside class="tsd-sources">
<h5><code class="tsd-tag ts-flagOptional">Optional</code> privateKey: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><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">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L488">packages/enr/src/enr.ts:488</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L488">packages/enr/src/enr.ts:488</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">
<li class="tsd-signature tsd-anchor-link" id="encodeTxt.encodeTxt-1">encode<wbr/>Txt<span class="tsd-signature-symbol">(</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><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><a href="#encodeTxt.encodeTxt-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="encodeTxt.encodeTxt-1">encode<wbr/>Txt<span class="tsd-signature-symbol">(</span>privateKey<span class="tsd-signature-symbol">?: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><a href="#encodeTxt.encodeTxt-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><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">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h5><code class="tsd-tag ts-flagOptional">Optional</code> privateKey: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L521">packages/enr/src/enr.ts:521</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">
<li class="tsd-signature tsd-anchor-link" id="entries.entries-1">entries<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">IterableIterator</span><span class="tsd-signature-symbol">&lt;</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">&gt;</span><a href="#entries.entries-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 an iterable of key, value pairs for every entry in the map.</p>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">IterableIterator</span><span class="tsd-signature-symbol">&lt;</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">&gt;</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#entries">entries</a></p>
<p>Inherited from Map.entries</p>
<ul>
<li>Defined in node_modules/typescript/lib/lib.es2015.iterable.d.ts:126</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="forEach" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>for<wbr/>Each</span><a href="#forEach" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">
<li class="tsd-signature tsd-anchor-link" id="forEach.forEach-1">for<wbr/>Each<span class="tsd-signature-symbol">(</span>callbackfn<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span>, key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, map<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</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">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span>, thisArg<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-type">void</span><a href="#forEach.forEach-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>Executes a provided function once per each key/value pair in the Map, in insertion order.</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>callbackfn: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span>, key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, map<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</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">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </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 tsd-is-external">
<li class="tsd-signature"><span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span>, key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, map<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</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">&gt;</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>value: <span class="tsd-signature-type">Uint8Array</span></h5></li>
<li>
<h5>key: <span class="tsd-signature-type">string</span></h5></li>
<li>
<h5>map: <span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</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">&gt;</span></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><code class="tsd-tag ts-flagOptional">Optional</code> thisArg: <span class="tsd-signature-type">any</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/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#forEach">forEach</a></p>
<p>Inherited from Map.forEach</p>
<ul>
<li>Defined in node_modules/typescript/lib/lib.es2015.collection.d.ts:31</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="get" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get</span><a href="#get" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">
<li class="tsd-signature tsd-anchor-link" id="get.get-1">get<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-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span><a href="#get.get-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 a specified element from the Map object. If the value that is associated to the provided key is an object, then you will get a reference to that object and any change made to that object will effectively modify it inside the Map.</p>
<h3>Returns</h3><p>Returns the element associated with the specified key. If no element is associated with the specified key, undefined is returned.</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></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">Uint8Array</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#get">get</a></p>
<p>Inherited from Map.get</p>
<ul>
<li>Defined in node_modules/typescript/lib/lib.es2015.collection.d.ts:36</li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L521">packages/enr/src/enr.ts:521</a></li></ul></aside></li></ul></section>
<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">
@ -549,7 +409,7 @@ use <a href="_waku_enr.ENR.html#getFullMultiaddrs">getFullMultiaddrs</a>.</p>
<h5>protocol: <span class="tsd-signature-type">&quot;tcp&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;udp&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;tcp6&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;udp6&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;udp4&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;tcp4&quot;</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/3b4bc8b2/packages/enr/src/enr.ts#L420">packages/enr/src/enr.ts:420</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L420">packages/enr/src/enr.ts:420</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">
@ -558,9 +418,9 @@ use <a href="_waku_enr.ENR.html#getFullMultiaddrs">getFullMultiaddrs</a>.</p>
<div class="tsd-comment tsd-typography"><p>Returns the full multiaddrs from the <code>multiaddrs</code> ENR field.</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">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#getFullMultiaddrs">getFullMultiaddrs</a></p>
<p>Implementation of <a href="../interfaces/_waku_enr._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_enr._internal_.IEnr.html#getFullMultiaddrs">getFullMultiaddrs</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L435">packages/enr/src/enr.ts:435</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L435">packages/enr/src/enr.ts:435</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">
@ -573,56 +433,24 @@ use <a href="_waku_enr.ENR.html#getFullMultiaddrs">getFullMultiaddrs</a>.</p>
<h5>protocol: <span class="tsd-signature-type">&quot;tcp&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;udp&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;tcp6&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;udp6&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;udp4&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;tcp4&quot;</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/3b4bc8b2/packages/enr/src/enr.ts#L344">packages/enr/src/enr.ts:344</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">
<li class="tsd-signature tsd-anchor-link" id="has.has-1">has<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-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#has.has-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>boolean indicating whether an element with the specified key exists or not.</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></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#has">has</a></p>
<p>Inherited from Map.has</p>
<ul>
<li>Defined in node_modules/typescript/lib/lib.es2015.collection.d.ts:40</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="keys" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>keys</span><a href="#keys" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">
<li class="tsd-signature tsd-anchor-link" id="keys.keys-1">keys<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">IterableIterator</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><a href="#keys.keys-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 an iterable of keys in the map</p>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">IterableIterator</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#keys">keys</a></p>
<p>Inherited from Map.keys</p>
<ul>
<li>Defined in node_modules/typescript/lib/lib.es2015.iterable.d.ts:131</li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L344">packages/enr/src/enr.ts:344</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="set" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>set</span><a href="#set" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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="set.set-1">set<span class="tsd-signature-symbol">(</span>k<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, v<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="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><a href="#set.set-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="set.set-1">set<span class="tsd-signature-symbol">(</span>k<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, v<span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><a href="#set.set-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>Adds a new element with a specified key and value to the Map. If an element with the same key already exists, the element will be updated.</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>k: <span class="tsd-signature-type">string</span></h5></li>
<li>
<h5>v: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
<h5>v: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#set">set</a></p>
<p>Implementation of IEnr.set</p>
<p>Overrides Map.set</p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L154">packages/enr/src/enr.ts:154</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L154">packages/enr/src/enr.ts:154</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">
@ -635,70 +463,58 @@ use <a href="_waku_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/3b4bc8b2/packages/enr/src/enr.ts#L388">packages/enr/src/enr.ts:388</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L388">packages/enr/src/enr.ts:388</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">
<li class="tsd-signature tsd-anchor-link" id="sign.sign-1">sign<span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</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><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span><a href="#sign.sign-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="sign.sign-1">sign<span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a>, privateKey<span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">&gt;</span><a href="#sign.sign-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>data: <span class="tsd-signature-type">Uint8Array</span></h5></li>
<h5>data: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li>
<li>
<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">&lt;</span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h5>privateKey: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L477">packages/enr/src/enr.ts:477</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">
<li class="tsd-signature tsd-anchor-link" id="values.values-1">values<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">IterableIterator</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span><a href="#values.values-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 an iterable of values in the map</p>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">IterableIterator</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#values">values</a></p>
<p>Inherited from Map.values</p>
<ul>
<li>Defined in node_modules/typescript/lib/lib.es2015.iterable.d.ts:136</li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L477">packages/enr/src/enr.ts:477</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="verify" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>verify</span><a href="#verify" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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="verify.verify-1">verify<span class="tsd-signature-symbol">(</span>data<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><span class="tsd-signature-type">boolean</span><a href="#verify.verify-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="verify.verify-1">verify<span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a>, signature<span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#verify.verify-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>data: <span class="tsd-signature-type">Uint8Array</span></h5></li>
<h5>data: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li>
<li>
<h5>signature: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
<h5>signature: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></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/3b4bc8b2/packages/enr/src/enr.ts#L467">packages/enr/src/enr.ts:467</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L467">packages/enr/src/enr.ts:467</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">
<li class="tsd-signature tsd-anchor-link" id="create.create-1">create<span class="tsd-signature-symbol">(</span>kvs<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</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">&gt;</span>, seq<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">bigint</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><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span><a href="#create.create-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="create.create-1">create<span class="tsd-signature-symbol">(</span>kvs<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">&gt;</span>, seq<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">bigint</span>, signature<span class="tsd-signature-symbol">?: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span><a href="#create.create-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>kvs: <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</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">&gt;</span><span class="tsd-signature-symbol"> = {}</span></h5></li>
<h5>kvs: <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = {}</span></h5></li>
<li>
<h5>seq: <span class="tsd-signature-type">bigint</span><span class="tsd-signature-symbol"> = ...</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 <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h5><code class="tsd-tag ts-flagOptional">Optional</code> signature: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L57">packages/enr/src/enr.ts:57</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L57">packages/enr/src/enr.ts:57</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">
<li class="tsd-signature tsd-anchor-link" id="createFromPeerId.createFromPeerId-1">create<wbr/>From<wbr/>Peer<wbr/>Id<span class="tsd-signature-symbol">(</span>peerId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PeerId</span>, kvs<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</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">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span><a href="#createFromPeerId.createFromPeerId-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="createFromPeerId.createFromPeerId-1">create<wbr/>From<wbr/>Peer<wbr/>Id<span class="tsd-signature-symbol">(</span>peerId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PeerId</span>, kvs<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span><a href="#createFromPeerId.createFromPeerId-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>
@ -706,64 +522,64 @@ use <a href="_waku_enr.ENR.html#getFullMultiaddrs">getFullMultiaddrs</a>.</p>
<li>
<h5>peerId: <span class="tsd-signature-type">PeerId</span></h5></li>
<li>
<h5>kvs: <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</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">&gt;</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">&lt;</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h5>kvs: <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L91">packages/enr/src/enr.ts:91</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L91">packages/enr/src/enr.ts:91</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">
<li class="tsd-signature tsd-anchor-link" id="createV4.createV4-1">create<wbr/>V4<span class="tsd-signature-symbol">(</span>publicKey<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span>, kvs<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</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">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span><a href="#createV4.createV4-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="createV4.createV4-1">create<wbr/>V4<span class="tsd-signature-symbol">(</span>publicKey<span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a>, kvs<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span><a href="#createV4.createV4-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>publicKey: <span class="tsd-signature-type">Uint8Array</span></h5></li>
<h5>publicKey: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li>
<li>
<h5>kvs: <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</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">&gt;</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">&lt;</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h5>kvs: <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L76">packages/enr/src/enr.ts:76</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L76">packages/enr/src/enr.ts:76</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>encoded<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">&lt;</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</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-signature tsd-anchor-link" id="decode.decode-1">decode<span class="tsd-signature-symbol">(</span>encoded<span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</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>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">&lt;</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h5>encoded: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L140">packages/enr/src/enr.ts:140</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L140">packages/enr/src/enr.ts:140</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">
<li class="tsd-signature tsd-anchor-link" id="decodeFromValues.decodeFromValues-1">decode<wbr/>From<wbr/>Values<span class="tsd-signature-symbol">(</span>decoded<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-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span><a href="#decodeFromValues.decodeFromValues-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="decodeFromValues.decodeFromValues-1">decode<wbr/>From<wbr/>Values<span class="tsd-signature-symbol">(</span>decoded<span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span><a href="#decodeFromValues.decodeFromValues-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>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">&lt;</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h5>decoded: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L104">packages/enr/src/enr.ts:104</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L104">packages/enr/src/enr.ts:104</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">
<li class="tsd-signature tsd-anchor-link" id="decodeTxt.decodeTxt-1">decode<wbr/>Txt<span class="tsd-signature-symbol">(</span>encoded<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">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span><a href="#decodeTxt.decodeTxt-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="decodeTxt.decodeTxt-1">decode<wbr/>Txt<span class="tsd-signature-symbol">(</span>encoded<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="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span><a href="#decodeTxt.decodeTxt-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>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">&lt;</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L145">packages/enr/src/enr.ts:145</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/enr.ts#L145">packages/enr/src/enr.ts:145</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">
@ -774,8 +590,7 @@ use <a href="_waku_enr.ENR.html#getFullMultiaddrs">getFullMultiaddrs</a>.</p>
<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>
<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></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">
@ -787,6 +602,9 @@ use <a href="_waku_enr.ENR.html#getFullMultiaddrs">getFullMultiaddrs</a>.</p>
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -803,15 +621,27 @@ use <a href="_waku_enr.ENR.html#getFullMultiaddrs">getFullMultiaddrs</a>.</p>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>
@ -863,13 +693,10 @@ use <a href="_waku_enr.ENR.html#getFullMultiaddrs">getFullMultiaddrs</a>.</p>
<li class="current tsd-kind-class tsd-parent-kind-module"><a href="_waku_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>
<ul>
<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-private"><a href="_waku_enr.ENR.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 tsd-is-external"><a href="_waku_enr.ENR.html#_toStringTag_" 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>[to<wbr/>String<wbr/>Tag]</a></li>
<li class="tsd-kind-property tsd-parent-kind-class"><a href="_waku_enr.ENR.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>
<li class="tsd-kind-property tsd-parent-kind-class"><a href="_waku_enr.ENR.html#seq" 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>seq</a></li>
<li class="tsd-kind-property tsd-parent-kind-class"><a href="_waku_enr.ENR.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 tsd-is-inherited tsd-is-external"><a href="_waku_enr.ENR.html#size" 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>size</a></li>
<li class="tsd-kind-property tsd-parent-kind-class"><a href="_waku_enr.ENR.html#RECORD_PREFIX" 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>RECORD_<wbr/>PREFIX</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="_waku_enr.ENR.html#_species_" 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>[species]</a></li>
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="_waku_enr.ENR.html#id" 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>id</a></li>
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="_waku_enr.ENR.html#ip" 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>ip</a></li>
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="_waku_enr.ENR.html#ip6" 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>ip6</a></li>
@ -883,24 +710,15 @@ use <a href="_waku_enr.ENR.html#getFullMultiaddrs">getFullMultiaddrs</a>.</p>
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="_waku_enr.ENR.html#udp" 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>udp</a></li>
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="_waku_enr.ENR.html#udp6" 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>udp6</a></li>
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="_waku_enr.ENR.html#waku2" 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>waku2</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="_waku_enr.ENR.html#_iterator_" 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>[iterator]</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="_waku_enr.ENR.html#clear" 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>clear</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="_waku_enr.ENR.html#delete" 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</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_enr.ENR.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="_waku_enr.ENR.html#encodeToValues" 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/>To<wbr/>Values</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_enr.ENR.html#encodeTxt" 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/>Txt</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="_waku_enr.ENR.html#entries" 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>entries</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="_waku_enr.ENR.html#forEach" 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>for<wbr/>Each</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="_waku_enr.ENR.html#get" 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</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_enr.ENR.html#getFullMultiaddr" 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/>Full<wbr/>Multiaddr</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_enr.ENR.html#getFullMultiaddrs" 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/>Full<wbr/>Multiaddrs</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_enr.ENR.html#getLocationMultiaddr" 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/>Location<wbr/>Multiaddr</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="_waku_enr.ENR.html#has" 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>has</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="_waku_enr.ENR.html#keys" 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>keys</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_enr.ENR.html#set" 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>set</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_enr.ENR.html#setLocationMultiaddr" 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>set<wbr/>Location<wbr/>Multiaddr</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_enr.ENR.html#sign" 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>sign</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="_waku_enr.ENR.html#values" 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>values</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_enr.ENR.html#verify" 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>verify</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_enr.ENR.html#create" 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>create</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_enr.ENR.html#createFromPeerId" 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>create<wbr/>From<wbr/>Peer<wbr/>Id</a></li>

View File

@ -25,7 +25,7 @@
<ul class="tsd-hierarchy">
<li><a href="../interfaces/_waku_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/3b4bc8b2/packages/enr/src/keypair/secp256k1.ts#L7">packages/enr/src/keypair/secp256k1.ts:7</a></li></ul></aside>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/keypair/secp256k1.ts#L7">packages/enr/src/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">
@ -58,56 +58,56 @@
<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_Secp256k1Keypair">new <wbr/>Secp256k1<wbr/>Keypair<span class="tsd-signature-symbol">(</span>privateKey<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Uint8Array</span>, publicKey<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="_waku_enr.Secp256k1Keypair.html" class="tsd-signature-type" data-tsd-kind="Class">Secp256k1Keypair</a><a href="#constructor.new_Secp256k1Keypair" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="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="constructor.new_Secp256k1Keypair">new <wbr/>Secp256k1<wbr/>Keypair<span class="tsd-signature-symbol">(</span>privateKey<span class="tsd-signature-symbol">?: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a>, publicKey<span class="tsd-signature-symbol">?: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_waku_enr.Secp256k1Keypair.html" class="tsd-signature-type" data-tsd-kind="Class">Secp256k1Keypair</a><a href="#constructor.new_Secp256k1Keypair" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="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><code class="tsd-tag ts-flagOptional">Optional</code> privateKey: <span class="tsd-signature-type">Uint8Array</span></h5></li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> privateKey: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li>
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> publicKey: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> publicKey: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="_waku_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/3b4bc8b2/packages/enr/src/keypair/secp256k1.ts#L12">packages/enr/src/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/79838d8c/packages/enr/src/keypair/secp256k1.ts#L12">packages/enr/src/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">
<div class="tsd-signature">_private<wbr/>Key<span class="tsd-signature-symbol">?:</span> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/keypair/secp256k1.ts#L9">packages/enr/src/keypair/secp256k1.ts:9</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/keypair/secp256k1.ts#L9">packages/enr/src/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">
<div class="tsd-signature">_public<wbr/>Key<span class="tsd-signature-symbol">?:</span> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/keypair/secp256k1.ts#L10">packages/enr/src/keypair/secp256k1.ts:10</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/keypair/secp256k1.ts#L10">packages/enr/src/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/_waku_enr.KeypairType.html" class="tsd-signature-type" data-tsd-kind="Enumeration">KeypairType</a></div><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_enr.IKeypair.html">IKeypair</a>.<a href="../interfaces/_waku_enr.IKeypair.html#type">type</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/keypair/secp256k1.ts#L8">packages/enr/src/keypair/secp256k1.ts:8</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/keypair/secp256k1.ts#L8">packages/enr/src/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>
<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"><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="privateKey.privateKey-1"><span class="tsd-signature-symbol">get</span> privateKey<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-signature" id="privateKey.privateKey-1"><span class="tsd-signature-symbol">get</span> privateKey<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></li>
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources">
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_enr.IKeypair.html">IKeypair</a>.<a href="../interfaces/_waku_enr.IKeypair.html#privateKey">privateKey</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/keypair/secp256k1.ts#L52">packages/enr/src/keypair/secp256k1.ts:52</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/keypair/secp256k1.ts#L52">packages/enr/src/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">
<li class="tsd-signature" id="publicKey.publicKey-1"><span class="tsd-signature-symbol">get</span> publicKey<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-signature" id="publicKey.publicKey-1"><span class="tsd-signature-symbol">get</span> publicKey<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></li>
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources">
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_enr.IKeypair.html">IKeypair</a>.<a href="../interfaces/_waku_enr.IKeypair.html#publicKey">publicKey</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/keypair/secp256k1.ts#L59">packages/enr/src/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/79838d8c/packages/enr/src/keypair/secp256k1.ts#L59">packages/enr/src/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>
@ -118,43 +118,43 @@
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_enr.IKeypair.html">IKeypair</a>.<a href="../interfaces/_waku_enr.IKeypair.html#hasPrivateKey">hasPrivateKey</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/keypair/secp256k1.ts#L66">packages/enr/src/keypair/secp256k1.ts:66</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/keypair/secp256k1.ts#L66">packages/enr/src/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">
<li class="tsd-signature tsd-anchor-link" id="privateKeyVerify.privateKeyVerify-1">private<wbr/>Key<wbr/>Verify<span class="tsd-signature-symbol">(</span>key<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><span class="tsd-signature-type">boolean</span><a href="#privateKeyVerify.privateKeyVerify-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="privateKeyVerify.privateKeyVerify-1">private<wbr/>Key<wbr/>Verify<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#privateKeyVerify.privateKeyVerify-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">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"> = ...</span></h5></li></ul></div>
<h5>key: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol"> = ...</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_enr.IKeypair.html">IKeypair</a>.<a href="../interfaces/_waku_enr.IKeypair.html#privateKeyVerify">privateKeyVerify</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/keypair/secp256k1.ts#L33">packages/enr/src/keypair/secp256k1.ts:33</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/keypair/secp256k1.ts#L33">packages/enr/src/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">
<li class="tsd-signature tsd-anchor-link" id="publicKeyVerify.publicKeyVerify-1">public<wbr/>Key<wbr/>Verify<span class="tsd-signature-symbol">(</span>key<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><span class="tsd-signature-type">boolean</span><a href="#publicKeyVerify.publicKeyVerify-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="publicKeyVerify.publicKeyVerify-1">public<wbr/>Key<wbr/>Verify<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#publicKeyVerify.publicKeyVerify-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">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"> = ...</span></h5></li></ul></div>
<h5>key: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol"> = ...</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_enr.IKeypair.html">IKeypair</a>.<a href="../interfaces/_waku_enr.IKeypair.html#publicKeyVerify">publicKeyVerify</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/keypair/secp256k1.ts#L40">packages/enr/src/keypair/secp256k1.ts:40</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/keypair/secp256k1.ts#L40">packages/enr/src/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">
<li class="tsd-signature tsd-anchor-link" id="generate.generate-1">generate<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">&lt;</span><a href="_waku_enr.Secp256k1Keypair.html" class="tsd-signature-type" data-tsd-kind="Class">Secp256k1Keypair</a><span class="tsd-signature-symbol">&gt;</span><a href="#generate.generate-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="generate.generate-1">generate<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="_waku_enr.Secp256k1Keypair.html" class="tsd-signature-type" data-tsd-kind="Class">Secp256k1Keypair</a><span class="tsd-signature-symbol">&gt;</span><a href="#generate.generate-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">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="_waku_enr.Secp256k1Keypair.html" class="tsd-signature-type" data-tsd-kind="Class">Secp256k1Keypair</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="_waku_enr.Secp256k1Keypair.html" class="tsd-signature-type" data-tsd-kind="Class">Secp256k1Keypair</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/keypair/secp256k1.ts#L27">packages/enr/src/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/79838d8c/packages/enr/src/keypair/secp256k1.ts#L27">packages/enr/src/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">
@ -165,8 +165,7 @@
<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>
<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></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">
@ -178,6 +177,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -194,15 +196,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -19,15 +19,15 @@
<section class="tsd-panel tsd-hierarchy">
<h4>Hierarchy</h4>
<ul class="tsd-hierarchy">
<li><a href="_waku_core.DecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Class">DecodedMessage</a>
<li><a href="_waku_message_encryption._internal_.DecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Class">DecodedMessage</a>
<ul class="tsd-hierarchy">
<li><span class="target">DecodedMessage</span></li></ul></li></ul></section>
<section class="tsd-panel">
<h4>Implements</h4>
<ul class="tsd-hierarchy">
<li><a href="../interfaces/_waku_interfaces.IDecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IDecodedMessage</a></li></ul></section><aside class="tsd-sources">
<li><a href="../interfaces/_waku_message_encryption._internal_.IDecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IDecodedMessage</a></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/message-encryption/src/index.ts#L27">packages/message-encryption/src/index.ts:27</a></li></ul></aside>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/message-encryption/src/index.ts#L27">packages/message-encryption/src/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">
@ -60,54 +60,54 @@
<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_DecodedMessage">new <wbr/>Decoded<wbr/>Message<span class="tsd-signature-symbol">(</span>proto<span class="tsd-signature-symbol">: </span><a href="../modules/_waku_proto.WakuMessage.html" class="tsd-signature-type" data-tsd-kind="Namespace">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="_waku_message_encryption.DecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Class">DecodedMessage</a><a href="#constructor.new_DecodedMessage" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="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="constructor.new_DecodedMessage">new <wbr/>Decoded<wbr/>Message<span class="tsd-signature-symbol">(</span>proto<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_message_encryption._internal_.WakuMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuMessage</a>, decodedPayload<span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a>, signature<span class="tsd-signature-symbol">?: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a>, signaturePublicKey<span class="tsd-signature-symbol">?: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_waku_message_encryption.DecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Class">DecodedMessage</a><a href="#constructor.new_DecodedMessage" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="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/_waku_proto.WakuMessage.html" class="tsd-signature-type" data-tsd-kind="Namespace">WakuMessage</a></h5></li>
<h5>proto: <a href="../interfaces/_waku_message_encryption._internal_.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>
<h5>decodedPayload: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li>
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> signature: <span class="tsd-signature-type">Uint8Array</span></h5></li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> signature: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li>
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> signaturePublicKey: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> signaturePublicKey: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="_waku_message_encryption.DecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Class">DecodedMessage</a></h4><aside class="tsd-sources">
<p>Overrides <a href="_waku_core.DecodedMessage.html">DecodedMessage</a>.<a href="_waku_core.DecodedMessage.html#constructor">constructor</a></p>
<p>Overrides <a href="_waku_message_encryption._internal_.DecodedMessage.html">DecodedMessage</a>.<a href="_waku_message_encryption._internal_.DecodedMessage.html#constructor">constructor</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/message-encryption/src/index.ts#L33">packages/message-encryption/src/index.ts:33</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/message-encryption/src/index.ts#L33">packages/message-encryption/src/index.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">
<div class="tsd-signature">_decoded<wbr/>Payload<span class="tsd-signature-symbol">:</span> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/message-encryption/src/index.ts#L31">packages/message-encryption/src/index.ts:31</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/message-encryption/src/index.ts#L31">packages/message-encryption/src/index.ts:31</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-protected tsd-is-inherited"><a id="proto" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <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/_waku_proto.WakuMessage.html" class="tsd-signature-type" data-tsd-kind="Namespace">WakuMessage</a></div><aside class="tsd-sources">
<p>Inherited from <a href="_waku_core.DecodedMessage.html">DecodedMessage</a>.<a href="_waku_core.DecodedMessage.html#proto">proto</a></p>
<div class="tsd-signature">proto<span class="tsd-signature-symbol">:</span> <a href="../interfaces/_waku_message_encryption._internal_.WakuMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuMessage</a></div><aside class="tsd-sources">
<p>Inherited from <a href="_waku_message_encryption._internal_.DecodedMessage.html">DecodedMessage</a>.<a href="_waku_message_encryption._internal_.DecodedMessage.html#proto">proto</a></p>
<ul>
<li>Defined in packages/core/dist/lib/message/version_0.d.ts:6</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">
<div class="tsd-signature">signature<span class="tsd-signature-symbol">?:</span> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/message-encryption/src/index.ts#L36">packages/message-encryption/src/index.ts:36</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/message-encryption/src/index.ts#L36">packages/message-encryption/src/index.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">
<div class="tsd-signature">signature<wbr/>Public<wbr/>Key<span class="tsd-signature-symbol">?:</span> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/message-encryption/src/index.ts#L37">packages/message-encryption/src/index.ts:37</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/message-encryption/src/index.ts#L37">packages/message-encryption/src/index.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-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><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></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">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h4><aside class="tsd-sources">
<p>Inherited from DecodedMessageV0._rawPayload</p>
<ul>
<li>Defined in packages/core/dist/lib/message/version_0.d.ts:8</li></ul></aside></li></ul></section>
@ -126,7 +126,7 @@
<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/_waku_interfaces.IDecodedMessage.html">IDecodedMessage</a>.<a href="../interfaces/_waku_interfaces.IDecodedMessage.html#contentTopic">contentTopic</a></p>
<p>Implementation of <a href="../interfaces/_waku_message_encryption._internal_.IDecodedMessage.html">IDecodedMessage</a>.<a href="../interfaces/_waku_message_encryption._internal_.IDecodedMessage.html#contentTopic">contentTopic</a></p>
<p>Inherited from DecodedMessageV0.contentTopic</p>
<ul>
<li>Defined in packages/core/dist/lib/message/version_0.d.ts:11</li></ul></aside></li></ul></section>
@ -136,37 +136,37 @@
<li class="tsd-signature" id="ephemeral.ephemeral-1"><span class="tsd-signature-symbol">get</span> ephemeral<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></li>
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IDecodedMessage.html">IDecodedMessage</a>.<a href="../interfaces/_waku_interfaces.IDecodedMessage.html#ephemeral">ephemeral</a></p>
<p>Implementation of <a href="../interfaces/_waku_message_encryption._internal_.IDecodedMessage.html">IDecodedMessage</a>.<a href="../interfaces/_waku_message_encryption._internal_.IDecodedMessage.html#ephemeral">ephemeral</a></p>
<p>Inherited from DecodedMessageV0.ephemeral</p>
<ul>
<li>Defined in packages/core/dist/lib/message/version_0.d.ts:9</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-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><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></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/_waku_interfaces.IDecodedMessage.html">IDecodedMessage</a>.<a href="../interfaces/_waku_interfaces.IDecodedMessage.html#payload">payload</a></p>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_message_encryption._internal_.IDecodedMessage.html">IDecodedMessage</a>.<a href="../interfaces/_waku_message_encryption._internal_.IDecodedMessage.html#payload">payload</a></p>
<p>Overrides DecodedMessageV0.payload</p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/message-encryption/src/index.ts#L43">packages/message-encryption/src/index.ts:43</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/message-encryption/src/index.ts#L43">packages/message-encryption/src/index.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="rateLimitProof" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>rate<wbr/>Limit<wbr/>Proof</span><a href="#rateLimitProof" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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="rateLimitProof.rateLimitProof-1"><span class="tsd-signature-symbol">get</span> rateLimitProof<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><a href="../interfaces/_waku_interfaces.IRateLimitProof.html" class="tsd-signature-type" data-tsd-kind="Interface">IRateLimitProof</a></li>
<li class="tsd-signature" id="rateLimitProof.rateLimitProof-1"><span class="tsd-signature-symbol">get</span> rateLimitProof<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><a href="../interfaces/_waku_message_encryption._internal_.IRateLimitProof.html" class="tsd-signature-type" data-tsd-kind="Interface">IRateLimitProof</a></li>
<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/_waku_interfaces.IRateLimitProof.html" class="tsd-signature-type" data-tsd-kind="Interface">IRateLimitProof</a></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IDecodedMessage.html">IDecodedMessage</a>.<a href="../interfaces/_waku_interfaces.IDecodedMessage.html#rateLimitProof">rateLimitProof</a></p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_waku_message_encryption._internal_.IRateLimitProof.html" class="tsd-signature-type" data-tsd-kind="Interface">IRateLimitProof</a></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_message_encryption._internal_.IDecodedMessage.html">IDecodedMessage</a>.<a href="../interfaces/_waku_message_encryption._internal_.IDecodedMessage.html#rateLimitProof">rateLimitProof</a></p>
<p>Inherited from DecodedMessageV0.rateLimitProof</p>
<ul>
<li>Defined in packages/core/dist/lib/message/version_0.d.ts:15</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-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><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date" class="tsd-signature-type external" target="_blank">Date</a></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/_waku_interfaces.IDecodedMessage.html">IDecodedMessage</a>.<a href="../interfaces/_waku_interfaces.IDecodedMessage.html#timestamp">timestamp</a></p>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date" class="tsd-signature-type external" target="_blank">Date</a></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_message_encryption._internal_.IDecodedMessage.html">IDecodedMessage</a>.<a href="../interfaces/_waku_message_encryption._internal_.IDecodedMessage.html#timestamp">timestamp</a></p>
<p>Inherited from DecodedMessageV0.timestamp</p>
<ul>
<li>Defined in packages/core/dist/lib/message/version_0.d.ts:13</li></ul></aside></li></ul></section>
@ -189,8 +189,7 @@
<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>
<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></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">
@ -202,6 +201,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -218,15 +220,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -0,0 +1,273 @@
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>DecodedMessage | @waku/root</title><meta name="description" content="Documentation for @waku/root"/><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 tsd-toolbar-icon 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>
<div class="field">
<div id="tsd-toolbar-links"></div></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">@waku/root</a></div>
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon 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">@waku/root</a></li>
<li><a href="../modules/_waku_message_encryption.html">@waku/message-encryption</a></li>
<li><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a></li>
<li><a href="_waku_message_encryption._internal_.DecodedMessage.html">DecodedMessage</a></li></ul>
<h1>Class DecodedMessage</h1></div>
<section class="tsd-panel tsd-hierarchy">
<h4>Hierarchy</h4>
<ul class="tsd-hierarchy">
<li><span class="target">DecodedMessage</span>
<ul class="tsd-hierarchy">
<li><a href="_waku_message_encryption.DecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Class">DecodedMessage</a></li></ul></li></ul></section>
<section class="tsd-panel">
<h4>Implements</h4>
<ul class="tsd-hierarchy">
<li><a href="../interfaces/_waku_message_encryption._internal_.IDecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IDecodedMessage</a></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in packages/core/dist/lib/message/version_0.d.ts:5</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="_waku_message_encryption._internal_.DecodedMessage.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="_waku_message_encryption._internal_.DecodedMessage.html#proto" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-protected"><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="_waku_message_encryption._internal_.DecodedMessage.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="_waku_message_encryption._internal_.DecodedMessage.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="_waku_message_encryption._internal_.DecodedMessage.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="_waku_message_encryption._internal_.DecodedMessage.html#ephemeral" 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>ephemeral</span></a>
<a href="_waku_message_encryption._internal_.DecodedMessage.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="_waku_message_encryption._internal_.DecodedMessage.html#rateLimitProof" 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>rate<wbr/>Limit<wbr/>Proof</span></a>
<a href="_waku_message_encryption._internal_.DecodedMessage.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="_waku_message_encryption._internal_.DecodedMessage.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_DecodedMessage">new <wbr/>Decoded<wbr/>Message<span class="tsd-signature-symbol">(</span>proto<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_message_encryption._internal_.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="_waku_message_encryption._internal_.DecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Class">DecodedMessage</a><a href="#constructor.new_DecodedMessage" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="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/_waku_message_encryption._internal_.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="_waku_message_encryption._internal_.DecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Class">DecodedMessage</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in packages/core/dist/lib/message/version_0.d.ts:7</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-protected"><a id="proto" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <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="../interfaces/_waku_message_encryption._internal_.WakuMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuMessage</a></div><aside class="tsd-sources">
<ul>
<li>Defined in packages/core/dist/lib/message/version_0.d.ts:6</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="_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><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></li>
<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="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in packages/core/dist/lib/message/version_0.d.ts:8</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 packages/core/dist/lib/message/version_0.d.ts:12</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/_waku_message_encryption._internal_.IDecodedMessage.html">IDecodedMessage</a>.<a href="../interfaces/_waku_message_encryption._internal_.IDecodedMessage.html#contentTopic">contentTopic</a></p>
<ul>
<li>Defined in packages/core/dist/lib/message/version_0.d.ts:11</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="ephemeral" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>ephemeral</span><a href="#ephemeral" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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="ephemeral.ephemeral-1"><span class="tsd-signature-symbol">get</span> ephemeral<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></li>
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_message_encryption._internal_.IDecodedMessage.html">IDecodedMessage</a>.<a href="../interfaces/_waku_message_encryption._internal_.IDecodedMessage.html#ephemeral">ephemeral</a></p>
<ul>
<li>Defined in packages/core/dist/lib/message/version_0.d.ts:9</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><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></li>
<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="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_message_encryption._internal_.IDecodedMessage.html">IDecodedMessage</a>.<a href="../interfaces/_waku_message_encryption._internal_.IDecodedMessage.html#payload">payload</a></p>
<ul>
<li>Defined in packages/core/dist/lib/message/version_0.d.ts:10</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="rateLimitProof" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>rate<wbr/>Limit<wbr/>Proof</span><a href="#rateLimitProof" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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="rateLimitProof.rateLimitProof-1"><span class="tsd-signature-symbol">get</span> rateLimitProof<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><a href="../interfaces/_waku_message_encryption._internal_.IRateLimitProof.html" class="tsd-signature-type" data-tsd-kind="Interface">IRateLimitProof</a></li>
<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/_waku_message_encryption._internal_.IRateLimitProof.html" class="tsd-signature-type" data-tsd-kind="Interface">IRateLimitProof</a></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_message_encryption._internal_.IDecodedMessage.html">IDecodedMessage</a>.<a href="../interfaces/_waku_message_encryption._internal_.IDecodedMessage.html#rateLimitProof">rateLimitProof</a></p>
<ul>
<li>Defined in packages/core/dist/lib/message/version_0.d.ts:15</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><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date" class="tsd-signature-type external" target="_blank">Date</a></li>
<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="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date" class="tsd-signature-type external" target="_blank">Date</a></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_message_encryption._internal_.IDecodedMessage.html">IDecodedMessage</a>.<a href="../interfaces/_waku_message_encryption._internal_.IDecodedMessage.html#timestamp">timestamp</a></p>
<ul>
<li>Defined in packages/core/dist/lib/message/version_0.d.ts:13</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 packages/core/dist/lib/message/version_0.d.ts:14</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></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">@waku/root</a>
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.html">version_<wbr/>0</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.html">proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li></ul></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku.html">waku</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_filter.html">waku_<wbr/>filter</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="current tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_filter.html">proto_<wbr/>filter</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRPC.html">FilterRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRequest.html">Filter<wbr/>Request</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRequest.ContentFilter.html">Content<wbr/>Filter</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.MessagePush.html">Message<wbr/>Push</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_lightpush.html">proto_<wbr/>lightpush</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushRPC.html">PushRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushRequest.html">Push<wbr/>Request</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushResponse.html">Push<wbr/>Response</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_message.html">proto_<wbr/>message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_message.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_peer_exchange.html">proto_<wbr/>peer_<wbr/>exchange</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeQuery.html">Peer<wbr/>Exchange<wbr/>Query</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeRPC.html">Peer<wbr/>ExchangeRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeResponse.html">Peer<wbr/>Exchange<wbr/>Response</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerInfo.html">Peer<wbr/>Info</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_store.html">proto_<wbr/>store</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.ContentFilter.html">Content<wbr/>Filter</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryQuery.html">History<wbr/>Query</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryRPC.html">HistoryRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryResponse.html">History<wbr/>Response</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryResponse.HistoryError.html">History<wbr/>Error</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.Index.html">Index</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.PagingInfo.html">Paging<wbr/>Info</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.PagingInfo.Direction.html">Direction</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.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/_waku_proto.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_utils.html">@waku/utils</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="_waku_message_encryption._internal_.DecodedMessage.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>Decoded<wbr/>Message</span></a>
<ul>
<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="_waku_message_encryption._internal_.DecodedMessage.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-protected"><a href="_waku_message_encryption._internal_.DecodedMessage.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="_waku_message_encryption._internal_.DecodedMessage.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="_waku_message_encryption._internal_.DecodedMessage.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="_waku_message_encryption._internal_.DecodedMessage.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="_waku_message_encryption._internal_.DecodedMessage.html#ephemeral" 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>ephemeral</a></li>
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="_waku_message_encryption._internal_.DecodedMessage.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="_waku_message_encryption._internal_.DecodedMessage.html#rateLimitProof" 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>rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="_waku_message_encryption._internal_.DecodedMessage.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="_waku_message_encryption._internal_.DecodedMessage.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>

View File

@ -0,0 +1,222 @@
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Decoder | @waku/root</title><meta name="description" content="Documentation for @waku/root"/><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 tsd-toolbar-icon 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>
<div class="field">
<div id="tsd-toolbar-links"></div></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">@waku/root</a></div>
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon 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">@waku/root</a></li>
<li><a href="../modules/_waku_message_encryption.html">@waku/message-encryption</a></li>
<li><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a></li>
<li><a href="_waku_message_encryption._internal_.Decoder.html">Decoder</a></li></ul>
<h1>Class Decoder</h1></div>
<section class="tsd-panel tsd-hierarchy">
<h4>Hierarchy</h4>
<ul class="tsd-hierarchy">
<li><span class="target">Decoder</span>
<ul class="tsd-hierarchy">
<li><a href="../modules/_waku_message_encryption.ecies.html" class="tsd-signature-type" data-tsd-kind="Namespace">ecies</a><span class="tsd-signature-symbol">.</span><a href="_waku_message_encryption.ecies.Decoder.html" class="tsd-signature-type" data-tsd-kind="Class">Decoder</a></li>
<li><a href="../modules/_waku_message_encryption.symmetric.html" class="tsd-signature-type" data-tsd-kind="Namespace">symmetric</a><span class="tsd-signature-symbol">.</span><a href="_waku_message_encryption.symmetric.Decoder.html" class="tsd-signature-type" data-tsd-kind="Class">Decoder</a></li></ul></li></ul></section>
<section class="tsd-panel">
<h4>Implements</h4>
<ul class="tsd-hierarchy">
<li><a href="../interfaces/_waku_message_encryption._internal_.IDecoder.html" class="tsd-signature-type" data-tsd-kind="Interface">IDecoder</a><span class="tsd-signature-symbol">&lt;</span><a href="_waku_message_encryption._internal_.DecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Class">DecodedMessage</a><span class="tsd-signature-symbol">&gt;</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in packages/core/dist/lib/message/version_0.d.ts:34</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="_waku_message_encryption._internal_.Decoder.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="_waku_message_encryption._internal_.Decoder.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="_waku_message_encryption._internal_.Decoder.html#fromProtoObj" 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>from<wbr/>Proto<wbr/>Obj</span></a>
<a href="_waku_message_encryption._internal_.Decoder.html#fromWireToProtoObj" 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/>Wire<wbr/>To<wbr/>Proto<wbr/>Obj</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_Decoder">new <wbr/>Decoder<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="_waku_message_encryption._internal_.Decoder.html" class="tsd-signature-type" data-tsd-kind="Class">Decoder</a><a href="#constructor.new_Decoder" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="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="_waku_message_encryption._internal_.Decoder.html" class="tsd-signature-type" data-tsd-kind="Class">Decoder</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in packages/core/dist/lib/message/version_0.d.ts:36</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/_waku_message_encryption._internal_.IDecoder.html">IDecoder</a>.<a href="../interfaces/_waku_message_encryption._internal_.IDecoder.html#contentTopic">contentTopic</a></p>
<ul>
<li>Defined in packages/core/dist/lib/message/version_0.d.ts:35</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="fromProtoObj" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>from<wbr/>Proto<wbr/>Obj</span><a href="#fromProtoObj" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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="fromProtoObj.fromProtoObj-1">from<wbr/>Proto<wbr/>Obj<span class="tsd-signature-symbol">(</span>proto<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_message_encryption._internal_.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="_waku_message_encryption._internal_.DecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Class">DecodedMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#fromProtoObj.fromProtoObj-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/_waku_message_encryption._internal_.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="_waku_message_encryption._internal_.DecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Class">DecodedMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Implementation of IDecoder.fromProtoObj</p>
<ul>
<li>Defined in packages/core/dist/lib/message/version_0.d.ts:38</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="fromWireToProtoObj" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>from<wbr/>Wire<wbr/>To<wbr/>Proto<wbr/>Obj</span><a href="#fromWireToProtoObj" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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="fromWireToProtoObj.fromWireToProtoObj-1">from<wbr/>Wire<wbr/>To<wbr/>Proto<wbr/>Obj<span class="tsd-signature-symbol">(</span>bytes<span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_waku_message_encryption._internal_.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#fromWireToProtoObj.fromWireToProtoObj-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: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_waku_message_encryption._internal_.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Implementation of IDecoder.fromWireToProtoObj</p>
<ul>
<li>Defined in packages/core/dist/lib/message/version_0.d.ts:37</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></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">@waku/root</a>
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.html">version_<wbr/>0</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.html">proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li></ul></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku.html">waku</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_filter.html">waku_<wbr/>filter</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="current tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_filter.html">proto_<wbr/>filter</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRPC.html">FilterRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRequest.html">Filter<wbr/>Request</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRequest.ContentFilter.html">Content<wbr/>Filter</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.MessagePush.html">Message<wbr/>Push</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_lightpush.html">proto_<wbr/>lightpush</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushRPC.html">PushRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushRequest.html">Push<wbr/>Request</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushResponse.html">Push<wbr/>Response</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_message.html">proto_<wbr/>message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_message.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_peer_exchange.html">proto_<wbr/>peer_<wbr/>exchange</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeQuery.html">Peer<wbr/>Exchange<wbr/>Query</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeRPC.html">Peer<wbr/>ExchangeRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeResponse.html">Peer<wbr/>Exchange<wbr/>Response</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerInfo.html">Peer<wbr/>Info</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_store.html">proto_<wbr/>store</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.ContentFilter.html">Content<wbr/>Filter</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryQuery.html">History<wbr/>Query</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryRPC.html">HistoryRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryResponse.html">History<wbr/>Response</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryResponse.HistoryError.html">History<wbr/>Error</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.Index.html">Index</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.PagingInfo.html">Paging<wbr/>Info</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.PagingInfo.Direction.html">Direction</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.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/_waku_proto.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_utils.html">@waku/utils</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="_waku_message_encryption._internal_.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-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</span></a>
<ul>
<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="_waku_message_encryption._internal_.Decoder.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="_waku_message_encryption._internal_.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-method tsd-parent-kind-class"><a href="_waku_message_encryption._internal_.Decoder.html#fromProtoObj" 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/>Proto<wbr/>Obj</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_message_encryption._internal_.Decoder.html#fromWireToProtoObj" 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/>Wire<wbr/>To<wbr/>Proto<wbr/>Obj</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>

View File

@ -20,15 +20,15 @@
<section class="tsd-panel tsd-hierarchy">
<h4>Hierarchy</h4>
<ul class="tsd-hierarchy">
<li><span class="tsd-signature-type">Decoder</span>
<li><a href="_waku_message_encryption._internal_.Decoder.html" class="tsd-signature-type" data-tsd-kind="Class">Decoder</a>
<ul class="tsd-hierarchy">
<li><span class="target">Decoder</span></li></ul></li></ul></section>
<section class="tsd-panel">
<h4>Implements</h4>
<ul class="tsd-hierarchy">
<li><a href="../interfaces/_waku_interfaces.IDecoder.html" class="tsd-signature-type" data-tsd-kind="Interface">IDecoder</a><span class="tsd-signature-symbol">&lt;</span><a href="_waku_message_encryption.DecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Class">DecodedMessage</a><span class="tsd-signature-symbol">&gt;</span></li></ul></section><aside class="tsd-sources">
<li><a href="../interfaces/_waku_message_encryption._internal_.IDecoder.html" class="tsd-signature-type" data-tsd-kind="Interface">IDecoder</a><span class="tsd-signature-symbol">&lt;</span><a href="_waku_message_encryption.DecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Class">DecodedMessage</a><span class="tsd-signature-symbol">&gt;</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/message-encryption/src/ecies.ts#L95">packages/message-encryption/src/ecies.ts:95</a></li></ul></aside>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/message-encryption/src/ecies.ts#L95">packages/message-encryption/src/ecies.ts:95</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">
@ -53,7 +53,7 @@
<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_Decoder">new <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="../modules/_waku_message_encryption.ecies.html" class="tsd-signature-type" data-tsd-kind="Namespace">ecies</a><span class="tsd-signature-symbol">.</span><a href="_waku_message_encryption.ecies.Decoder.html" class="tsd-signature-type" data-tsd-kind="Class">Decoder</a><a href="#constructor.new_Decoder" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="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="constructor.new_Decoder">new <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><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/_waku_message_encryption.ecies.html" class="tsd-signature-type" data-tsd-kind="Namespace">ecies</a><span class="tsd-signature-symbol">.</span><a href="_waku_message_encryption.ecies.Decoder.html" class="tsd-signature-type" data-tsd-kind="Class">Decoder</a><a href="#constructor.new_Decoder" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="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>
@ -61,55 +61,55 @@
<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>
<h5>privateKey: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../modules/_waku_message_encryption.ecies.html" class="tsd-signature-type" data-tsd-kind="Namespace">ecies</a><span class="tsd-signature-symbol">.</span><a href="_waku_message_encryption.ecies.Decoder.html" class="tsd-signature-type" data-tsd-kind="Class">Decoder</a></h4><aside class="tsd-sources">
<p>Overrides DecoderV0.constructor</p>
<p>Overrides <a href="_waku_message_encryption._internal_.Decoder.html">Decoder</a>.<a href="_waku_message_encryption._internal_.Decoder.html#constructor">constructor</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/message-encryption/src/ecies.ts#L96">packages/message-encryption/src/ecies.ts:96</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/message-encryption/src/ecies.ts#L96">packages/message-encryption/src/ecies.ts:96</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/_waku_interfaces.IDecoder.html">IDecoder</a>.<a href="../interfaces/_waku_interfaces.IDecoder.html#contentTopic">contentTopic</a></p>
<p>Inherited from DecoderV0.contentTopic</p>
<p>Implementation of <a href="../interfaces/_waku_message_encryption._internal_.IDecoder.html">IDecoder</a>.<a href="../interfaces/_waku_message_encryption._internal_.IDecoder.html#contentTopic">contentTopic</a></p>
<p>Inherited from <a href="_waku_message_encryption._internal_.Decoder.html">Decoder</a>.<a href="_waku_message_encryption._internal_.Decoder.html#contentTopic">contentTopic</a></p>
<ul>
<li>Defined in packages/core/dist/lib/message/version_0.d.ts:35</li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="privateKey" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</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">
<div class="tsd-signature">private<wbr/>Key<span class="tsd-signature-symbol">:</span> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/message-encryption/src/ecies.ts#L96">packages/message-encryption/src/ecies.ts:96</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/message-encryption/src/ecies.ts#L96">packages/message-encryption/src/ecies.ts:96</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="fromProtoObj" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>from<wbr/>Proto<wbr/>Obj</span><a href="#fromProtoObj" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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="fromProtoObj.fromProtoObj-1">from<wbr/>Proto<wbr/>Obj<span class="tsd-signature-symbol">(</span>protoMessage<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</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">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="_waku_message_encryption.DecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Class">DecodedMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#fromProtoObj.fromProtoObj-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="fromProtoObj.fromProtoObj-1">from<wbr/>Proto<wbr/>Obj<span class="tsd-signature-symbol">(</span>protoMessage<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_message_encryption._internal_.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="_waku_message_encryption.DecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Class">DecodedMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#fromProtoObj.fromProtoObj-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/_waku_interfaces.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="_waku_message_encryption.DecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Class">DecodedMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h5>protoMessage: <a href="../interfaces/_waku_message_encryption._internal_.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="_waku_message_encryption.DecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Class">DecodedMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Implementation of IDecoder.fromProtoObj</p>
<p>Overrides DecoderV0.fromProtoObj</p>
<p>Overrides <a href="_waku_message_encryption._internal_.Decoder.html">Decoder</a>.<a href="_waku_message_encryption._internal_.Decoder.html#fromProtoObj">fromProtoObj</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/message-encryption/src/ecies.ts#L100">packages/message-encryption/src/ecies.ts:100</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/message-encryption/src/ecies.ts#L100">packages/message-encryption/src/ecies.ts:100</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="fromWireToProtoObj" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>from<wbr/>Wire<wbr/>To<wbr/>Proto<wbr/>Obj</span><a href="#fromWireToProtoObj" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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="fromWireToProtoObj.fromWireToProtoObj-1">from<wbr/>Wire<wbr/>To<wbr/>Proto<wbr/>Obj<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">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_waku_interfaces.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#fromWireToProtoObj.fromWireToProtoObj-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="fromWireToProtoObj.fromWireToProtoObj-1">from<wbr/>Wire<wbr/>To<wbr/>Proto<wbr/>Obj<span class="tsd-signature-symbol">(</span>bytes<span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_waku_message_encryption._internal_.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#fromWireToProtoObj.fromWireToProtoObj-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">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_waku_interfaces.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h5>bytes: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_waku_message_encryption._internal_.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Implementation of IDecoder.fromWireToProtoObj</p>
<p>Inherited from DecoderV0.fromWireToProtoObj</p>
<p>Inherited from <a href="_waku_message_encryption._internal_.Decoder.html">Decoder</a>.<a href="_waku_message_encryption._internal_.Decoder.html#fromWireToProtoObj">fromWireToProtoObj</a></p>
<ul>
<li>Defined in packages/core/dist/lib/message/version_0.d.ts:37</li></ul></aside></li></ul></section></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
@ -122,8 +122,7 @@
<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>
<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></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">
@ -135,6 +134,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -151,15 +153,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -24,9 +24,9 @@
<section class="tsd-panel">
<h4>Implements</h4>
<ul class="tsd-hierarchy">
<li><a href="../interfaces/_waku_interfaces.IEncoder.html" class="tsd-signature-type" data-tsd-kind="Interface">IEncoder</a></li></ul></section><aside class="tsd-sources">
<li><a href="../interfaces/_waku_message_encryption._internal_.IEncoder.html" class="tsd-signature-type" data-tsd-kind="Interface">IEncoder</a></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/message-encryption/src/ecies.ts#L31">packages/message-encryption/src/ecies.ts:31</a></li></ul></aside>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/message-encryption/src/ecies.ts#L31">packages/message-encryption/src/ecies.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">
@ -53,7 +53,7 @@
<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_Encoder">new <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>, ephemeral<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/_waku_message_encryption.ecies.html" class="tsd-signature-type" data-tsd-kind="Namespace">ecies</a><span class="tsd-signature-symbol">.</span><a href="_waku_message_encryption.ecies.Encoder.html" class="tsd-signature-type" data-tsd-kind="Class">Encoder</a><a href="#constructor.new_Encoder" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="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="constructor.new_Encoder">new <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><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a>, sigPrivKey<span class="tsd-signature-symbol">?: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a>, ephemeral<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/_waku_message_encryption.ecies.html" class="tsd-signature-type" data-tsd-kind="Namespace">ecies</a><span class="tsd-signature-symbol">.</span><a href="_waku_message_encryption.ecies.Encoder.html" class="tsd-signature-type" data-tsd-kind="Class">Encoder</a><a href="#constructor.new_Encoder" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="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>
@ -61,68 +61,68 @@
<li>
<h5>contentTopic: <span class="tsd-signature-type">string</span></h5></li>
<li>
<h5>publicKey: <span class="tsd-signature-type">Uint8Array</span></h5></li>
<h5>publicKey: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li>
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> sigPrivKey: <span class="tsd-signature-type">Uint8Array</span></h5></li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> sigPrivKey: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li>
<li>
<h5>ephemeral: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../modules/_waku_message_encryption.ecies.html" class="tsd-signature-type" data-tsd-kind="Namespace">ecies</a><span class="tsd-signature-symbol">.</span><a href="_waku_message_encryption.ecies.Encoder.html" class="tsd-signature-type" data-tsd-kind="Class">Encoder</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/message-encryption/src/ecies.ts#L32">packages/message-encryption/src/ecies.ts:32</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/message-encryption/src/ecies.ts#L32">packages/message-encryption/src/ecies.ts:32</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/_waku_interfaces.IEncoder.html">IEncoder</a>.<a href="../interfaces/_waku_interfaces.IEncoder.html#contentTopic">contentTopic</a></p>
<p>Implementation of <a href="../interfaces/_waku_message_encryption._internal_.IEncoder.html">IEncoder</a>.<a href="../interfaces/_waku_message_encryption._internal_.IEncoder.html#contentTopic">contentTopic</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/message-encryption/src/ecies.ts#L33">packages/message-encryption/src/ecies.ts:33</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/message-encryption/src/ecies.ts#L33">packages/message-encryption/src/ecies.ts:33</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="ephemeral" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>ephemeral</span><a href="#ephemeral" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">ephemeral<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEncoder.html">IEncoder</a>.<a href="../interfaces/_waku_interfaces.IEncoder.html#ephemeral">ephemeral</a></p>
<p>Implementation of <a href="../interfaces/_waku_message_encryption._internal_.IEncoder.html">IEncoder</a>.<a href="../interfaces/_waku_message_encryption._internal_.IEncoder.html#ephemeral">ephemeral</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/message-encryption/src/ecies.ts#L36">packages/message-encryption/src/ecies.ts:36</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/message-encryption/src/ecies.ts#L36">packages/message-encryption/src/ecies.ts:36</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="publicKey" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</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">
<div class="tsd-signature">public<wbr/>Key<span class="tsd-signature-symbol">:</span> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/message-encryption/src/ecies.ts#L34">packages/message-encryption/src/ecies.ts:34</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/message-encryption/src/ecies.ts#L34">packages/message-encryption/src/ecies.ts:34</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="sigPrivKey" 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>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><aside class="tsd-sources">
<div class="tsd-signature">sig<wbr/>Priv<wbr/>Key<span class="tsd-signature-symbol">?:</span> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/message-encryption/src/ecies.ts#L35">packages/message-encryption/src/ecies.ts:35</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/message-encryption/src/ecies.ts#L35">packages/message-encryption/src/ecies.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-class"><a id="toProtoObj" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>to<wbr/>Proto<wbr/>Obj</span><a href="#toProtoObj" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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="toProtoObj.toProtoObj-1">to<wbr/>Proto<wbr/>Obj<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.IMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IMessage</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">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_waku_interfaces.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#toProtoObj.toProtoObj-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="toProtoObj.toProtoObj-1">to<wbr/>Proto<wbr/>Obj<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_message_encryption._internal_.IMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_waku_message_encryption._internal_.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#toProtoObj.toProtoObj-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/_waku_interfaces.IMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IMessage</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_waku_interfaces.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h5>message: <a href="../interfaces/_waku_message_encryption._internal_.IMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IMessage</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_waku_message_encryption._internal_.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Implementation of IEncoder.toProtoObj</p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/message-encryption/src/ecies.ts#L46">packages/message-encryption/src/ecies.ts:46</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/message-encryption/src/ecies.ts#L46">packages/message-encryption/src/ecies.ts:46</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="toWire" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>to<wbr/>Wire</span><a href="#toWire" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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="toWire.toWire-1">to<wbr/>Wire<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.IMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IMessage</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">&lt;</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">&gt;</span><a href="#toWire.toWire-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="toWire.toWire-1">to<wbr/>Wire<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_message_encryption._internal_.IMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">&gt;</span><a href="#toWire.toWire-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/_waku_interfaces.IMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IMessage</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h5>message: <a href="../interfaces/_waku_message_encryption._internal_.IMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IMessage</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Implementation of IEncoder.toWire</p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/message-encryption/src/ecies.ts#L39">packages/message-encryption/src/ecies.ts:39</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/message-encryption/src/ecies.ts#L39">packages/message-encryption/src/ecies.ts:39</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">
@ -133,8 +133,7 @@
<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>
<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></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">
@ -146,6 +145,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -162,15 +164,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -20,15 +20,15 @@
<section class="tsd-panel tsd-hierarchy">
<h4>Hierarchy</h4>
<ul class="tsd-hierarchy">
<li><span class="tsd-signature-type">Decoder</span>
<li><a href="_waku_message_encryption._internal_.Decoder.html" class="tsd-signature-type" data-tsd-kind="Class">Decoder</a>
<ul class="tsd-hierarchy">
<li><span class="target">Decoder</span></li></ul></li></ul></section>
<section class="tsd-panel">
<h4>Implements</h4>
<ul class="tsd-hierarchy">
<li><a href="../interfaces/_waku_interfaces.IDecoder.html" class="tsd-signature-type" data-tsd-kind="Interface">IDecoder</a><span class="tsd-signature-symbol">&lt;</span><a href="_waku_message_encryption.DecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Class">DecodedMessage</a><span class="tsd-signature-symbol">&gt;</span></li></ul></section><aside class="tsd-sources">
<li><a href="../interfaces/_waku_message_encryption._internal_.IDecoder.html" class="tsd-signature-type" data-tsd-kind="Interface">IDecoder</a><span class="tsd-signature-symbol">&lt;</span><a href="_waku_message_encryption.DecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Class">DecodedMessage</a><span class="tsd-signature-symbol">&gt;</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/message-encryption/src/symmetric.ts#L94">packages/message-encryption/src/symmetric.ts:94</a></li></ul></aside>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/message-encryption/src/symmetric.ts#L94">packages/message-encryption/src/symmetric.ts:94</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">
@ -53,7 +53,7 @@
<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_Decoder">new <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="../modules/_waku_message_encryption.symmetric.html" class="tsd-signature-type" data-tsd-kind="Namespace">symmetric</a><span class="tsd-signature-symbol">.</span><a href="_waku_message_encryption.symmetric.Decoder.html" class="tsd-signature-type" data-tsd-kind="Class">Decoder</a><a href="#constructor.new_Decoder" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="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="constructor.new_Decoder">new <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><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/_waku_message_encryption.symmetric.html" class="tsd-signature-type" data-tsd-kind="Namespace">symmetric</a><span class="tsd-signature-symbol">.</span><a href="_waku_message_encryption.symmetric.Decoder.html" class="tsd-signature-type" data-tsd-kind="Class">Decoder</a><a href="#constructor.new_Decoder" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="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>
@ -61,55 +61,55 @@
<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>
<h5>symKey: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../modules/_waku_message_encryption.symmetric.html" class="tsd-signature-type" data-tsd-kind="Namespace">symmetric</a><span class="tsd-signature-symbol">.</span><a href="_waku_message_encryption.symmetric.Decoder.html" class="tsd-signature-type" data-tsd-kind="Class">Decoder</a></h4><aside class="tsd-sources">
<p>Overrides DecoderV0.constructor</p>
<p>Overrides <a href="_waku_message_encryption._internal_.Decoder.html">Decoder</a>.<a href="_waku_message_encryption._internal_.Decoder.html#constructor">constructor</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/message-encryption/src/symmetric.ts#L95">packages/message-encryption/src/symmetric.ts:95</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/message-encryption/src/symmetric.ts#L95">packages/message-encryption/src/symmetric.ts:95</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/_waku_interfaces.IDecoder.html">IDecoder</a>.<a href="../interfaces/_waku_interfaces.IDecoder.html#contentTopic">contentTopic</a></p>
<p>Inherited from DecoderV0.contentTopic</p>
<p>Implementation of <a href="../interfaces/_waku_message_encryption._internal_.IDecoder.html">IDecoder</a>.<a href="../interfaces/_waku_message_encryption._internal_.IDecoder.html#contentTopic">contentTopic</a></p>
<p>Inherited from <a href="_waku_message_encryption._internal_.Decoder.html">Decoder</a>.<a href="_waku_message_encryption._internal_.Decoder.html#contentTopic">contentTopic</a></p>
<ul>
<li>Defined in packages/core/dist/lib/message/version_0.d.ts:35</li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="symKey" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</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">Uint8Array</span></div><aside class="tsd-sources">
<div class="tsd-signature">sym<wbr/>Key<span class="tsd-signature-symbol">:</span> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/message-encryption/src/symmetric.ts#L95">packages/message-encryption/src/symmetric.ts:95</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/message-encryption/src/symmetric.ts#L95">packages/message-encryption/src/symmetric.ts:95</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="fromProtoObj" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>from<wbr/>Proto<wbr/>Obj</span><a href="#fromProtoObj" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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="fromProtoObj.fromProtoObj-1">from<wbr/>Proto<wbr/>Obj<span class="tsd-signature-symbol">(</span>protoMessage<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</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">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="_waku_message_encryption.DecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Class">DecodedMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#fromProtoObj.fromProtoObj-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="fromProtoObj.fromProtoObj-1">from<wbr/>Proto<wbr/>Obj<span class="tsd-signature-symbol">(</span>protoMessage<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_message_encryption._internal_.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="_waku_message_encryption.DecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Class">DecodedMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#fromProtoObj.fromProtoObj-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/_waku_interfaces.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="_waku_message_encryption.DecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Class">DecodedMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h5>protoMessage: <a href="../interfaces/_waku_message_encryption._internal_.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="_waku_message_encryption.DecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Class">DecodedMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Implementation of IDecoder.fromProtoObj</p>
<p>Overrides DecoderV0.fromProtoObj</p>
<p>Overrides <a href="_waku_message_encryption._internal_.Decoder.html">Decoder</a>.<a href="_waku_message_encryption._internal_.Decoder.html#fromProtoObj">fromProtoObj</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/message-encryption/src/symmetric.ts#L99">packages/message-encryption/src/symmetric.ts:99</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/message-encryption/src/symmetric.ts#L99">packages/message-encryption/src/symmetric.ts:99</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="fromWireToProtoObj" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>from<wbr/>Wire<wbr/>To<wbr/>Proto<wbr/>Obj</span><a href="#fromWireToProtoObj" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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="fromWireToProtoObj.fromWireToProtoObj-1">from<wbr/>Wire<wbr/>To<wbr/>Proto<wbr/>Obj<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">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_waku_interfaces.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#fromWireToProtoObj.fromWireToProtoObj-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="fromWireToProtoObj.fromWireToProtoObj-1">from<wbr/>Wire<wbr/>To<wbr/>Proto<wbr/>Obj<span class="tsd-signature-symbol">(</span>bytes<span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_waku_message_encryption._internal_.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#fromWireToProtoObj.fromWireToProtoObj-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">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_waku_interfaces.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h5>bytes: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_waku_message_encryption._internal_.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Implementation of IDecoder.fromWireToProtoObj</p>
<p>Inherited from DecoderV0.fromWireToProtoObj</p>
<p>Inherited from <a href="_waku_message_encryption._internal_.Decoder.html">Decoder</a>.<a href="_waku_message_encryption._internal_.Decoder.html#fromWireToProtoObj">fromWireToProtoObj</a></p>
<ul>
<li>Defined in packages/core/dist/lib/message/version_0.d.ts:37</li></ul></aside></li></ul></section></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
@ -122,8 +122,7 @@
<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>
<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></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">
@ -135,6 +134,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -151,15 +153,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -24,9 +24,9 @@
<section class="tsd-panel">
<h4>Implements</h4>
<ul class="tsd-hierarchy">
<li><a href="../interfaces/_waku_interfaces.IEncoder.html" class="tsd-signature-type" data-tsd-kind="Interface">IEncoder</a></li></ul></section><aside class="tsd-sources">
<li><a href="../interfaces/_waku_message_encryption._internal_.IEncoder.html" class="tsd-signature-type" data-tsd-kind="Interface">IEncoder</a></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/message-encryption/src/symmetric.ts#L30">packages/message-encryption/src/symmetric.ts:30</a></li></ul></aside>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/message-encryption/src/symmetric.ts#L30">packages/message-encryption/src/symmetric.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">
@ -53,7 +53,7 @@
<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_Encoder">new <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>, ephemeral<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/_waku_message_encryption.symmetric.html" class="tsd-signature-type" data-tsd-kind="Namespace">symmetric</a><span class="tsd-signature-symbol">.</span><a href="_waku_message_encryption.symmetric.Encoder.html" class="tsd-signature-type" data-tsd-kind="Class">Encoder</a><a href="#constructor.new_Encoder" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="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="constructor.new_Encoder">new <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><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a>, sigPrivKey<span class="tsd-signature-symbol">?: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a>, ephemeral<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/_waku_message_encryption.symmetric.html" class="tsd-signature-type" data-tsd-kind="Namespace">symmetric</a><span class="tsd-signature-symbol">.</span><a href="_waku_message_encryption.symmetric.Encoder.html" class="tsd-signature-type" data-tsd-kind="Class">Encoder</a><a href="#constructor.new_Encoder" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="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>
@ -61,68 +61,68 @@
<li>
<h5>contentTopic: <span class="tsd-signature-type">string</span></h5></li>
<li>
<h5>symKey: <span class="tsd-signature-type">Uint8Array</span></h5></li>
<h5>symKey: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li>
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> sigPrivKey: <span class="tsd-signature-type">Uint8Array</span></h5></li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> sigPrivKey: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li>
<li>
<h5>ephemeral: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../modules/_waku_message_encryption.symmetric.html" class="tsd-signature-type" data-tsd-kind="Namespace">symmetric</a><span class="tsd-signature-symbol">.</span><a href="_waku_message_encryption.symmetric.Encoder.html" class="tsd-signature-type" data-tsd-kind="Class">Encoder</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/message-encryption/src/symmetric.ts#L31">packages/message-encryption/src/symmetric.ts:31</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/message-encryption/src/symmetric.ts#L31">packages/message-encryption/src/symmetric.ts:31</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/_waku_interfaces.IEncoder.html">IEncoder</a>.<a href="../interfaces/_waku_interfaces.IEncoder.html#contentTopic">contentTopic</a></p>
<p>Implementation of <a href="../interfaces/_waku_message_encryption._internal_.IEncoder.html">IEncoder</a>.<a href="../interfaces/_waku_message_encryption._internal_.IEncoder.html#contentTopic">contentTopic</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/message-encryption/src/symmetric.ts#L32">packages/message-encryption/src/symmetric.ts:32</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/message-encryption/src/symmetric.ts#L32">packages/message-encryption/src/symmetric.ts:32</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="ephemeral" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>ephemeral</span><a href="#ephemeral" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">ephemeral<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEncoder.html">IEncoder</a>.<a href="../interfaces/_waku_interfaces.IEncoder.html#ephemeral">ephemeral</a></p>
<p>Implementation of <a href="../interfaces/_waku_message_encryption._internal_.IEncoder.html">IEncoder</a>.<a href="../interfaces/_waku_message_encryption._internal_.IEncoder.html#ephemeral">ephemeral</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/message-encryption/src/symmetric.ts#L35">packages/message-encryption/src/symmetric.ts:35</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/message-encryption/src/symmetric.ts#L35">packages/message-encryption/src/symmetric.ts:35</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="sigPrivKey" 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>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><aside class="tsd-sources">
<div class="tsd-signature">sig<wbr/>Priv<wbr/>Key<span class="tsd-signature-symbol">?:</span> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/message-encryption/src/symmetric.ts#L34">packages/message-encryption/src/symmetric.ts:34</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/message-encryption/src/symmetric.ts#L34">packages/message-encryption/src/symmetric.ts:34</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="symKey" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</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">Uint8Array</span></div><aside class="tsd-sources">
<div class="tsd-signature">sym<wbr/>Key<span class="tsd-signature-symbol">:</span> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/message-encryption/src/symmetric.ts#L33">packages/message-encryption/src/symmetric.ts:33</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/message-encryption/src/symmetric.ts#L33">packages/message-encryption/src/symmetric.ts:33</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="toProtoObj" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>to<wbr/>Proto<wbr/>Obj</span><a href="#toProtoObj" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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="toProtoObj.toProtoObj-1">to<wbr/>Proto<wbr/>Obj<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.IMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IMessage</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">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_waku_interfaces.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#toProtoObj.toProtoObj-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="toProtoObj.toProtoObj-1">to<wbr/>Proto<wbr/>Obj<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_message_encryption._internal_.IMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_waku_message_encryption._internal_.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a><span class="tsd-signature-symbol">&gt;</span><a href="#toProtoObj.toProtoObj-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/_waku_interfaces.IMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IMessage</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_waku_interfaces.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h5>message: <a href="../interfaces/_waku_message_encryption._internal_.IMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IMessage</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_waku_message_encryption._internal_.IProtoMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IProtoMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Implementation of IEncoder.toProtoObj</p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/message-encryption/src/symmetric.ts#L45">packages/message-encryption/src/symmetric.ts:45</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/message-encryption/src/symmetric.ts#L45">packages/message-encryption/src/symmetric.ts:45</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="toWire" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>to<wbr/>Wire</span><a href="#toWire" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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="toWire.toWire-1">to<wbr/>Wire<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.IMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IMessage</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">&lt;</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">&gt;</span><a href="#toWire.toWire-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="toWire.toWire-1">to<wbr/>Wire<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_message_encryption._internal_.IMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">&gt;</span><a href="#toWire.toWire-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/_waku_interfaces.IMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IMessage</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h5>message: <a href="../interfaces/_waku_message_encryption._internal_.IMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IMessage</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Implementation of IEncoder.toWire</p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/message-encryption/src/symmetric.ts#L38">packages/message-encryption/src/symmetric.ts:38</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/message-encryption/src/symmetric.ts#L38">packages/message-encryption/src/symmetric.ts:38</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">
@ -133,8 +133,7 @@
<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>
<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></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">
@ -146,6 +145,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -162,15 +164,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -27,7 +27,7 @@
<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/3b4bc8b2/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L52">packages/peer-exchange/src/waku_peer_exchange_discovery.ts:52</a></li></ul></aside>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L55">packages/peer-exchange/src/waku_peer_exchange_discovery.ts:55</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,8 +39,7 @@
</div></section>
<section class="tsd-index-section">
<h3 class="tsd-index-heading">Properties</h3>
<div class="tsd-index-list"><a href="_waku_peer_exchange.PeerExchangeDiscovery.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="_waku_peer_exchange.PeerExchangeDiscovery.html#components" 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>components</span></a>
<div class="tsd-index-list"><a href="_waku_peer_exchange.PeerExchangeDiscovery.html#components" 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>components</span></a>
<a href="_waku_peer_exchange.PeerExchangeDiscovery.html#isStarted" 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>is<wbr/>Started</span></a>
<a href="_waku_peer_exchange.PeerExchangeDiscovery.html#options" 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>options</span></a>
<a href="_waku_peer_exchange.PeerExchangeDiscovery.html#peerExchange" 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>peer<wbr/>Exchange</span></a>
@ -55,12 +54,8 @@
<section class="tsd-index-section">
<h3 class="tsd-index-heading">Methods</h3>
<div class="tsd-index-list"><a href="_waku_peer_exchange.PeerExchangeDiscovery.html#abortQueriesForPeer" 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>abort<wbr/>Queries<wbr/>For<wbr/>Peer</span></a>
<a href="_waku_peer_exchange.PeerExchangeDiscovery.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="_waku_peer_exchange.PeerExchangeDiscovery.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="_waku_peer_exchange.PeerExchangeDiscovery.html#eventHandler" 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>event<wbr/>Handler</span></a>
<a href="_waku_peer_exchange.PeerExchangeDiscovery.html#listenerCount" 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>listener<wbr/>Count</span></a>
<a href="_waku_peer_exchange.PeerExchangeDiscovery.html#query" 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>query</span></a>
<a href="_waku_peer_exchange.PeerExchangeDiscovery.html#removeEventListener" 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>remove<wbr/>Event<wbr/>Listener</span></a>
<a href="_waku_peer_exchange.PeerExchangeDiscovery.html#start" 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>start</span></a>
<a href="_waku_peer_exchange.PeerExchangeDiscovery.html#startRecurringQueries" 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>start<wbr/>Recurring<wbr/>Queries</span></a>
<a href="_waku_peer_exchange.PeerExchangeDiscovery.html#stop" 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>stop</span></a>
@ -70,58 +65,51 @@
<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_PeerExchangeDiscovery">new <wbr/>Peer<wbr/>Exchange<wbr/>Discovery<span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a>, options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/_waku_peer_exchange.Options.html" class="tsd-signature-type" data-tsd-kind="Interface">Options</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_waku_peer_exchange.PeerExchangeDiscovery.html" class="tsd-signature-type" data-tsd-kind="Class">PeerExchangeDiscovery</a><a href="#constructor.new_PeerExchangeDiscovery" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="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="constructor.new_PeerExchangeDiscovery">new <wbr/>Peer<wbr/>Exchange<wbr/>Discovery<span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_peer_exchange._internal_.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a>, options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/_waku_peer_exchange.Options.html" class="tsd-signature-type" data-tsd-kind="Interface">Options</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_waku_peer_exchange.PeerExchangeDiscovery.html" class="tsd-signature-type" data-tsd-kind="Class">PeerExchangeDiscovery</a><a href="#constructor.new_PeerExchangeDiscovery" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="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>components: <a href="../interfaces/_waku_interfaces.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a></h5></li>
<h5>components: <a href="../interfaces/_waku_peer_exchange._internal_.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a></h5></li>
<li>
<h5>options: <a href="../interfaces/_waku_peer_exchange.Options.html" class="tsd-signature-type" data-tsd-kind="Interface">Options</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="_waku_peer_exchange.PeerExchangeDiscovery.html" class="tsd-signature-type" data-tsd-kind="Class">PeerExchangeDiscovery</a></h4><aside class="tsd-sources">
<p>Overrides EventEmitter&lt;PeerDiscoveryEvents&gt;.constructor</p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L79">packages/peer-exchange/src/waku_peer_exchange_discovery.ts:79</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L82">packages/peer-exchange/src/waku_peer_exchange_discovery.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 tsd-is-private tsd-is-inherited tsd-is-external"><a id="_private" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>#private</span><a href="#_private" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div><aside class="tsd-sources">
<p>Implementation of PeerDiscovery.#private</p>
<p>Inherited from EventEmitter.#private</p>
<ul>
<li>Defined in node_modules/@libp2p/interfaces/dist/src/events.d.ts:19</li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="components" 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>components</span><a href="#components" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">components<span class="tsd-signature-symbol">:</span> <a href="../interfaces/_waku_interfaces.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a></div><aside class="tsd-sources">
<div class="tsd-signature">components<span class="tsd-signature-symbol">:</span> <a href="../interfaces/_waku_peer_exchange._internal_.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L56">packages/peer-exchange/src/waku_peer_exchange_discovery.ts:56</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L59">packages/peer-exchange/src/waku_peer_exchange_discovery.ts:59</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="isStarted" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <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>
<div class="tsd-signature">is<wbr/>Started<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/3b4bc8b2/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L59">packages/peer-exchange/src/waku_peer_exchange_discovery.ts:59</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L62">packages/peer-exchange/src/waku_peer_exchange_discovery.ts:62</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="options" 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>options</span><a href="#options" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">options<span class="tsd-signature-symbol">:</span> <a href="../interfaces/_waku_peer_exchange.Options.html" class="tsd-signature-type" data-tsd-kind="Interface">Options</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L58">packages/peer-exchange/src/waku_peer_exchange_discovery.ts:58</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L61">packages/peer-exchange/src/waku_peer_exchange_discovery.ts:61</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="peerExchange" 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>peer<wbr/>Exchange</span><a href="#peerExchange" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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/>Exchange<span class="tsd-signature-symbol">:</span> <a href="_waku_peer_exchange.WakuPeerExchange.html" class="tsd-signature-type" data-tsd-kind="Class">WakuPeerExchange</a></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L57">packages/peer-exchange/src/waku_peer_exchange_discovery.ts:57</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L60">packages/peer-exchange/src/waku_peer_exchange_discovery.ts:60</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="queryAttempts" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>query<wbr/>Attempts</span><a href="#queryAttempts" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">query<wbr/>Attempts<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources">
<div class="tsd-signature">query<wbr/>Attempts<span class="tsd-signature-symbol">:</span> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map" class="tsd-signature-type external" target="_blank">Map</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</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/3b4bc8b2/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L61">packages/peer-exchange/src/waku_peer_exchange_discovery.ts:61</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L64">packages/peer-exchange/src/waku_peer_exchange_discovery.ts:64</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="queryingPeers" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>querying<wbr/>Peers</span><a href="#queryingPeers" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">querying<wbr/>Peers<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Set</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources">
<div class="tsd-signature">querying<wbr/>Peers<span class="tsd-signature-symbol">:</span> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set" class="tsd-signature-type external" target="_blank">Set</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</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/3b4bc8b2/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L60">packages/peer-exchange/src/waku_peer_exchange_discovery.ts:60</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L63">packages/peer-exchange/src/waku_peer_exchange_discovery.ts:63</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>
@ -130,18 +118,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@3960</p>
<p>Implementation of PeerDiscovery.__@symbol@3988</p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L117">packages/peer-exchange/src/waku_peer_exchange_discovery.ts:117</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L120">packages/peer-exchange/src/waku_peer_exchange_discovery.ts:120</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@3016</p>
<p>Implementation of PeerDiscovery.__@toStringTag@3043</p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L121">packages/peer-exchange/src/waku_peer_exchange_discovery.ts:121</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L124">packages/peer-exchange/src/waku_peer_exchange_discovery.ts:124</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-private"><a id="abortQueriesForPeer" class="tsd-anchor"></a>
@ -156,111 +144,33 @@
<h5>peerIdStr: <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/3b4bc8b2/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L202">packages/peer-exchange/src/waku_peer_exchange_discovery.ts:202</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">
<li class="tsd-signature tsd-anchor-link" id="addEventListener.addEventListener-1">add<wbr/>Event<wbr/>Listener<span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">K</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">K</span>, listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">EventHandler</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">PeerDiscoveryEvents</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">K</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">&gt;</span>, options<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">AddEventListenerOptions</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#addEventListener.addEventListener-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">
<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">&quot;peer&quot;</span></h4></li></ul></section>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>type: <span class="tsd-signature-type" data-tsd-kind="Type parameter">K</span></h5></li>
<li>
<h5>listener: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">EventHandler</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">PeerDiscoveryEvents</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">K</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">&gt;</span></h5></li>
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">AddEventListenerOptions</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 PeerDiscovery.addEventListener</p>
<p>Inherited from EventEmitter.addEventListener</p>
<ul>
<li>Defined in node_modules/@libp2p/interfaces/dist/src/events.d.ts:21</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">
<li class="tsd-signature tsd-anchor-link" id="dispatchEvent.dispatchEvent-1">dispatch<wbr/>Event<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Event</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#dispatchEvent.dispatchEvent-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>event: <span class="tsd-signature-type">Event</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<p>Implementation of PeerDiscovery.dispatchEvent</p>
<p>Inherited from EventEmitter.dispatchEvent</p>
<ul>
<li>Defined in node_modules/@libp2p/interfaces/dist/src/events.d.ts:23</li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L205">packages/peer-exchange/src/waku_peer_exchange_discovery.ts:205</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="eventHandler" 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>event<wbr/>Handler</span><a href="#eventHandler" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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="eventHandler.eventHandler-1">event<wbr/>Handler<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">CustomEvent</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">PeerProtocolsChangeData</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#eventHandler.eventHandler-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="eventHandler.eventHandler-1">event<wbr/>Handler<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent" class="tsd-signature-type external" target="_blank">CustomEvent</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">PeerProtocolsChangeData</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#eventHandler.eventHandler-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>event: <span class="tsd-signature-type">CustomEvent</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">PeerProtocolsChangeData</span><span class="tsd-signature-symbol">&gt;</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h5>event: <a href="https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent" class="tsd-signature-type external" target="_blank">CustomEvent</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">PeerProtocolsChangeData</span><span class="tsd-signature-symbol">&gt;</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L63">packages/peer-exchange/src/waku_peer_exchange_discovery.ts:63</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="listenerCount" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>listener<wbr/>Count</span><a href="#listenerCount" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">
<li class="tsd-signature tsd-anchor-link" id="listenerCount.listenerCount-1">listener<wbr/>Count<span class="tsd-signature-symbol">(</span>type<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">number</span><a href="#listenerCount.listenerCount-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>type: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
<p>Implementation of PeerDiscovery.listenerCount</p>
<p>Inherited from EventEmitter.listenerCount</p>
<ul>
<li>Defined in node_modules/@libp2p/interfaces/dist/src/events.d.ts:20</li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L66">packages/peer-exchange/src/waku_peer_exchange_discovery.ts:66</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="query" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>query</span><a href="#query" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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="query.query-1">query<span class="tsd-signature-symbol">(</span>peerId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PeerId</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#query.query-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="query.query-1">query<span class="tsd-signature-symbol">(</span>peerId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PeerId</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#query.query-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>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">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L149">packages/peer-exchange/src/waku_peer_exchange_discovery.ts:149</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="removeEventListener" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>remove<wbr/>Event<wbr/>Listener</span><a href="#removeEventListener" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">
<li class="tsd-signature tsd-anchor-link" id="removeEventListener.removeEventListener-1">remove<wbr/>Event<wbr/>Listener<span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">K</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">K</span>, listener<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">EventHandler</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">PeerDiscoveryEvents</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">K</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">&gt;</span>, options<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">EventListenerOptions</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#removeEventListener.removeEventListener-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">
<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">&quot;peer&quot;</span></h4></li></ul></section>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>type: <span class="tsd-signature-type" data-tsd-kind="Type parameter">K</span></h5></li>
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> listener: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">EventHandler</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">PeerDiscoveryEvents</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">K</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">&gt;</span></h5></li>
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">EventListenerOptions</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 PeerDiscovery.removeEventListener</p>
<p>Inherited from EventEmitter.removeEventListener</p>
<ul>
<li>Defined in node_modules/@libp2p/interfaces/dist/src/events.d.ts:22</li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L152">packages/peer-exchange/src/waku_peer_exchange_discovery.ts:152</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">
@ -270,20 +180,20 @@
</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/3b4bc8b2/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L90">packages/peer-exchange/src/waku_peer_exchange_discovery.ts:90</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L93">packages/peer-exchange/src/waku_peer_exchange_discovery.ts:93</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="startRecurringQueries" 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>start<wbr/>Recurring<wbr/>Queries</span><a href="#startRecurringQueries" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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="startRecurringQueries.startRecurringQueries-1">start<wbr/>Recurring<wbr/>Queries<span class="tsd-signature-symbol">(</span>peerId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PeerId</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#startRecurringQueries.startRecurringQueries-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="startRecurringQueries.startRecurringQueries-1">start<wbr/>Recurring<wbr/>Queries<span class="tsd-signature-symbol">(</span>peerId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PeerId</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#startRecurringQueries.startRecurringQueries-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>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">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L125">packages/peer-exchange/src/waku_peer_exchange_discovery.ts:125</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L128">packages/peer-exchange/src/waku_peer_exchange_discovery.ts:128</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">
@ -293,7 +203,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/3b4bc8b2/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L106">packages/peer-exchange/src/waku_peer_exchange_discovery.ts:106</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L109">packages/peer-exchange/src/waku_peer_exchange_discovery.ts:109</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">
@ -304,8 +214,7 @@
<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>
<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></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">
@ -317,6 +226,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -333,15 +245,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>
@ -393,7 +317,6 @@
<li class="current tsd-kind-class tsd-parent-kind-module"><a href="_waku_peer_exchange.PeerExchangeDiscovery.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/>Exchange<wbr/>Discovery</span></a>
<ul>
<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="_waku_peer_exchange.PeerExchangeDiscovery.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="_waku_peer_exchange.PeerExchangeDiscovery.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-private"><a href="_waku_peer_exchange.PeerExchangeDiscovery.html#components" 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>components</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="_waku_peer_exchange.PeerExchangeDiscovery.html#isStarted" 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>is<wbr/>Started</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="_waku_peer_exchange.PeerExchangeDiscovery.html#options" 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>options</a></li>
@ -403,12 +326,8 @@
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="_waku_peer_exchange.PeerExchangeDiscovery.html#_symbol_" 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>[symbol]</a></li>
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="_waku_peer_exchange.PeerExchangeDiscovery.html#_toStringTag_" 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>[to<wbr/>String<wbr/>Tag]</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="_waku_peer_exchange.PeerExchangeDiscovery.html#abortQueriesForPeer" 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>abort<wbr/>Queries<wbr/>For<wbr/>Peer</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="_waku_peer_exchange.PeerExchangeDiscovery.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 tsd-is-inherited tsd-is-external"><a href="_waku_peer_exchange.PeerExchangeDiscovery.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-private"><a href="_waku_peer_exchange.PeerExchangeDiscovery.html#eventHandler" 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>event<wbr/>Handler</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="_waku_peer_exchange.PeerExchangeDiscovery.html#listenerCount" 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>listener<wbr/>Count</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="_waku_peer_exchange.PeerExchangeDiscovery.html#query" 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</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="_waku_peer_exchange.PeerExchangeDiscovery.html#removeEventListener" 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/>Event<wbr/>Listener</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_peer_exchange.PeerExchangeDiscovery.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>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="_waku_peer_exchange.PeerExchangeDiscovery.html#startRecurringQueries" 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<wbr/>Recurring<wbr/>Queries</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_peer_exchange.PeerExchangeDiscovery.html#stop" 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>stop</a></li></ul></li></ul></nav></div></div>

View File

@ -26,9 +26,9 @@
<section class="tsd-panel">
<h4>Implements</h4>
<ul class="tsd-hierarchy">
<li><a href="../interfaces/_waku_interfaces.IPeerExchange.html" class="tsd-signature-type" data-tsd-kind="Interface">IPeerExchange</a></li></ul></section><aside class="tsd-sources">
<li><a href="../interfaces/_waku_peer_exchange._internal_.IPeerExchange.html" class="tsd-signature-type" data-tsd-kind="Interface">IPeerExchange</a></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/peer-exchange/src/waku_peer_exchange.ts#L31">packages/peer-exchange/src/waku_peer_exchange.ts:31</a></li></ul></aside>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/peer-exchange/src/waku_peer_exchange.ts#L40">packages/peer-exchange/src/waku_peer_exchange.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">
@ -61,38 +61,38 @@
<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_WakuPeerExchange">new <wbr/>Waku<wbr/>Peer<wbr/>Exchange<span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_waku_peer_exchange.WakuPeerExchange.html" class="tsd-signature-type" data-tsd-kind="Class">WakuPeerExchange</a><a href="#constructor.new_WakuPeerExchange" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="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="constructor.new_WakuPeerExchange">new <wbr/>Waku<wbr/>Peer<wbr/>Exchange<span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_peer_exchange._internal_.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_waku_peer_exchange.WakuPeerExchange.html" class="tsd-signature-type" data-tsd-kind="Class">WakuPeerExchange</a><a href="#constructor.new_WakuPeerExchange" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="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>components: <a href="../interfaces/_waku_interfaces.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a></h5>
<h5>components: <a href="../interfaces/_waku_peer_exchange._internal_.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a></h5>
<div class="tsd-comment tsd-typography"><p>libp2p components</p>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="_waku_peer_exchange.WakuPeerExchange.html" class="tsd-signature-type" data-tsd-kind="Class">WakuPeerExchange</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/peer-exchange/src/waku_peer_exchange.ts#L40">packages/peer-exchange/src/waku_peer_exchange.ts:40</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/peer-exchange/src/waku_peer_exchange.ts#L49">packages/peer-exchange/src/waku_peer_exchange.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 tsd-is-private"><a id="callback" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</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"><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">callback<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>response<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.PeerExchangeResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeResponse</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span></div><aside class="tsd-sources">
<div class="tsd-signature">callback<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>response<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_peer_exchange._internal_.PeerExchangeResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeResponse</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</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/3b4bc8b2/packages/peer-exchange/src/waku_peer_exchange.ts#L33">packages/peer-exchange/src/waku_peer_exchange.ts:33</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/peer-exchange/src/waku_peer_exchange.ts#L42">packages/peer-exchange/src/waku_peer_exchange.ts:42</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="components" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>components</span><a href="#components" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">components<span class="tsd-signature-symbol">:</span> <a href="../interfaces/_waku_interfaces.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a></div>
<div class="tsd-signature">components<span class="tsd-signature-symbol">:</span> <a href="../interfaces/_waku_peer_exchange._internal_.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a></div>
<div class="tsd-comment tsd-typography"><p>libp2p components</p>
</div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/peer-exchange/src/waku_peer_exchange.ts#L40">packages/peer-exchange/src/waku_peer_exchange.ts:40</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/peer-exchange/src/waku_peer_exchange.ts#L49">packages/peer-exchange/src/waku_peer_exchange.ts:49</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="multicodec" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>multicodec</span><a href="#multicodec" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">multicodec<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IPeerExchange.html">IPeerExchange</a>.<a href="../interfaces/_waku_interfaces.IPeerExchange.html#multicodec">multicodec</a></p>
<p>Implementation of <a href="../interfaces/_waku_peer_exchange._internal_.IPeerExchange.html">IPeerExchange</a>.<a href="../interfaces/_waku_peer_exchange._internal_.IPeerExchange.html#multicodec">multicodec</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/peer-exchange/src/waku_peer_exchange.ts#L32">packages/peer-exchange/src/waku_peer_exchange.ts:32</a></li></ul></aside></section></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/peer-exchange/src/waku_peer_exchange.ts#L41">packages/peer-exchange/src/waku_peer_exchange.ts:41</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="peerStore" class="tsd-anchor"></a>
@ -104,15 +104,15 @@
<h3>Returns</h3><p>The libp2p peer store</p>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">PeerStore</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IPeerExchange.html">IPeerExchange</a>.<a href="../interfaces/_waku_interfaces.IPeerExchange.html#peerStore">peerStore</a></p>
<p>Implementation of <a href="../interfaces/_waku_peer_exchange._internal_.IPeerExchange.html">IPeerExchange</a>.<a href="../interfaces/_waku_peer_exchange._internal_.IPeerExchange.html#peerStore">peerStore</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/peer-exchange/src/waku_peer_exchange.ts#L150">packages/peer-exchange/src/waku_peer_exchange.ts:150</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/peer-exchange/src/waku_peer_exchange.ts#L159">packages/peer-exchange/src/waku_peer_exchange.ts:159</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-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">
<li class="tsd-signature tsd-anchor-link" id="getPeer.getPeer-1">get<wbr/>Peer<span class="tsd-signature-symbol">(</span>peerId<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">PeerId</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Peer</span><span class="tsd-signature-symbol">&gt;</span><a href="#getPeer.getPeer-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="getPeer.getPeer-1">get<wbr/>Peer<span class="tsd-signature-symbol">(</span>peerId<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">PeerId</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Peer</span><span class="tsd-signature-symbol">&gt;</span><a href="#getPeer.getPeer-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>A peer to query</p>
@ -124,9 +124,9 @@
<h5><code class="tsd-tag ts-flagOptional">Optional</code> peerId: <span class="tsd-signature-type">PeerId</span></h5>
<div class="tsd-comment tsd-typography"><p>Optional peer ID to select a peer</p>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Peer</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Peer</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/peer-exchange/src/waku_peer_exchange.ts#L112">packages/peer-exchange/src/waku_peer_exchange.ts:112</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/peer-exchange/src/waku_peer_exchange.ts#L121">packages/peer-exchange/src/waku_peer_exchange.ts:121</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="handler" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>handler</span><a href="#handler" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">
@ -141,11 +141,11 @@
<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/3b4bc8b2/packages/peer-exchange/src/waku_peer_exchange.ts#L78">packages/peer-exchange/src/waku_peer_exchange.ts:78</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/peer-exchange/src/waku_peer_exchange.ts#L87">packages/peer-exchange/src/waku_peer_exchange.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="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">
<li class="tsd-signature tsd-anchor-link" id="newStream.newStream-1">new<wbr/>Stream<span class="tsd-signature-symbol">(</span>peer<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><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Stream</span><span class="tsd-signature-symbol">&gt;</span><a href="#newStream.newStream-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="newStream.newStream-1">new<wbr/>Stream<span class="tsd-signature-symbol">(</span>peer<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><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Stream</span><span class="tsd-signature-symbol">&gt;</span><a href="#newStream.newStream-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>A new stream</p>
@ -157,25 +157,25 @@
<h5>peer: <span class="tsd-signature-type">Peer</span></h5>
<div class="tsd-comment tsd-typography"><p>Peer to open a stream with</p>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Stream</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Stream</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/peer-exchange/src/waku_peer_exchange.ts#L128">packages/peer-exchange/src/waku_peer_exchange.ts:128</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/peer-exchange/src/waku_peer_exchange.ts#L137">packages/peer-exchange/src/waku_peer_exchange.ts:137</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">
<li class="tsd-signature tsd-anchor-link" id="peers.peers-1">peers<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">&lt;</span><span class="tsd-signature-type">Peer</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#peers.peers-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="peers.peers-1">peers<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Peer</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#peers.peers-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>All peers that support the peer exchange protocol</p>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Peer</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Peer</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Implementation of IPeerExchange.peers</p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/peer-exchange/src/waku_peer_exchange.ts#L143">packages/peer-exchange/src/waku_peer_exchange.ts:143</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/peer-exchange/src/waku_peer_exchange.ts#L152">packages/peer-exchange/src/waku_peer_exchange.ts:152</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="query" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>query</span><a href="#query" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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="query.query-1">query<span class="tsd-signature-symbol">(</span>params<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.PeerExchangeQueryParams.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeQueryParams</a>, callback<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>response<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.PeerExchangeResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeResponse</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><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">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#query.query-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="query.query-1">query<span class="tsd-signature-symbol">(</span>params<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_peer_exchange._internal_.PeerExchangeQueryParams.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeQueryParams</a>, callback<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>response<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_peer_exchange._internal_.PeerExchangeResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeResponse</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#query.query-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>Make a peer exchange query to a peer</p>
</div>
@ -183,24 +183,24 @@
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>params: <a href="../interfaces/_waku_interfaces.PeerExchangeQueryParams.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeQueryParams</a></h5></li>
<h5>params: <a href="../interfaces/_waku_peer_exchange._internal_.PeerExchangeQueryParams.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeQueryParams</a></h5></li>
<li>
<h5>callback: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>response<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.PeerExchangeResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeResponse</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span></h5>
<h5>callback: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>response<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_peer_exchange._internal_.PeerExchangeResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeResponse</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</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>response<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.PeerExchangeResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeResponse</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">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li>
<li class="tsd-signature"><span class="tsd-signature-symbol">(</span>response<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_peer_exchange._internal_.PeerExchangeResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeResponse</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>response: <a href="../interfaces/_waku_interfaces.PeerExchangeResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeResponse</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></li></ul></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IPeerExchange.html">IPeerExchange</a>.<a href="../interfaces/_waku_interfaces.IPeerExchange.html#query">query</a></p>
<h5>response: <a href="../interfaces/_waku_peer_exchange._internal_.PeerExchangeResponse.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeResponse</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4></li></ul></li></ul></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_peer_exchange._internal_.IPeerExchange.html">IPeerExchange</a>.<a href="../interfaces/_waku_peer_exchange._internal_.IPeerExchange.html#query">query</a></p>
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/peer-exchange/src/waku_peer_exchange.ts#L50">packages/peer-exchange/src/waku_peer_exchange.ts:50</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/peer-exchange/src/waku_peer_exchange.ts#L59">packages/peer-exchange/src/waku_peer_exchange.ts:59</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">
@ -211,8 +211,7 @@
<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>
<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></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">
@ -224,6 +223,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -240,15 +242,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -0,0 +1,160 @@
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>PageDirection | @waku/root</title><meta name="description" content="Documentation for @waku/root"/><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 tsd-toolbar-icon 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>
<div class="field">
<div id="tsd-toolbar-links"></div></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">@waku/root</a></div>
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon 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">@waku/root</a></li>
<li><a href="../modules/_waku_core.html">@waku/core</a></li>
<li><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a></li>
<li><a href="_waku_core._internal_.PageDirection.html">PageDirection</a></li></ul>
<h1>Enumeration PageDirection</h1></div><aside class="tsd-sources">
<ul>
<li>Defined in packages/interfaces/dist/store.d.ts:3</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="_waku_core._internal_.PageDirection.html#BACKWARD" 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>BACKWARD</span></a>
<a href="_waku_core._internal_.PageDirection.html#FORWARD" 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>FORWARD</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="BACKWARD" class="tsd-anchor"></a>
<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">&quot;backward&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in packages/interfaces/dist/store.d.ts:4</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">&quot;forward&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in packages/interfaces/dist/store.d.ts:5</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></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">@waku/root</a>
<ul>
<li class="current tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="current tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.html">version_<wbr/>0</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.html">proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li></ul></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku.html">waku</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_filter.html">waku_<wbr/>filter</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_filter.html">proto_<wbr/>filter</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRPC.html">FilterRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRequest.html">Filter<wbr/>Request</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRequest.ContentFilter.html">Content<wbr/>Filter</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.MessagePush.html">Message<wbr/>Push</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_lightpush.html">proto_<wbr/>lightpush</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushRPC.html">PushRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushRequest.html">Push<wbr/>Request</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushResponse.html">Push<wbr/>Response</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_message.html">proto_<wbr/>message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_message.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_peer_exchange.html">proto_<wbr/>peer_<wbr/>exchange</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeQuery.html">Peer<wbr/>Exchange<wbr/>Query</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeRPC.html">Peer<wbr/>ExchangeRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeResponse.html">Peer<wbr/>Exchange<wbr/>Response</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerInfo.html">Peer<wbr/>Info</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_store.html">proto_<wbr/>store</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.ContentFilter.html">Content<wbr/>Filter</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryQuery.html">History<wbr/>Query</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryRPC.html">HistoryRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryResponse.html">History<wbr/>Response</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryResponse.HistoryError.html">History<wbr/>Error</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.Index.html">Index</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.PagingInfo.html">Paging<wbr/>Info</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.PagingInfo.Direction.html">Direction</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.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/_waku_proto.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_utils.html">@waku/utils</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="_waku_core._internal_.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>
<ul>
<li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="_waku_core._internal_.PageDirection.html#BACKWARD" 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>BACKWARD</a></li>
<li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="_waku_core._internal_.PageDirection.html#FORWARD" 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>FORWARD</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>

View File

@ -0,0 +1,181 @@
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Protocols | @waku/root</title><meta name="description" content="Documentation for @waku/root"/><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 tsd-toolbar-icon 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>
<div class="field">
<div id="tsd-toolbar-links"></div></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">@waku/root</a></div>
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon 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">@waku/root</a></li>
<li><a href="../modules/_waku_core.html">@waku/core</a></li>
<li><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a></li>
<li><a href="_waku_core._internal_.Protocols.html">Protocols</a></li></ul>
<h1>Enumeration Protocols</h1></div><aside class="tsd-sources">
<ul>
<li>Defined in packages/interfaces/dist/protocols.d.ts:5</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="_waku_core._internal_.Protocols.html#Filter" 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>Filter</span></a>
<a href="_waku_core._internal_.Protocols.html#LightPush" 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>Light<wbr/>Push</span></a>
<a href="_waku_core._internal_.Protocols.html#PeerExchange" 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>Peer<wbr/>Exchange</span></a>
<a href="_waku_core._internal_.Protocols.html#Relay" 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>Relay</span></a>
<a href="_waku_core._internal_.Protocols.html#Store" 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>Store</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="Filter" class="tsd-anchor"></a>
<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">&quot;filter&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in packages/interfaces/dist/protocols.d.ts:9</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">&quot;lightpush&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in packages/interfaces/dist/protocols.d.ts:8</li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="PeerExchange" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>Peer<wbr/>Exchange</span><a href="#PeerExchange" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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/>Exchange<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;peer-exchange&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in packages/interfaces/dist/protocols.d.ts:10</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">&quot;relay&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in packages/interfaces/dist/protocols.d.ts:6</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">&quot;store&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in packages/interfaces/dist/protocols.d.ts:7</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></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">@waku/root</a>
<ul>
<li class="current tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="current tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.html">version_<wbr/>0</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.html">proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li></ul></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku.html">waku</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_filter.html">waku_<wbr/>filter</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_filter.html">proto_<wbr/>filter</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRPC.html">FilterRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRequest.html">Filter<wbr/>Request</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRequest.ContentFilter.html">Content<wbr/>Filter</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.MessagePush.html">Message<wbr/>Push</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_lightpush.html">proto_<wbr/>lightpush</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushRPC.html">PushRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushRequest.html">Push<wbr/>Request</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushResponse.html">Push<wbr/>Response</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_message.html">proto_<wbr/>message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_message.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_peer_exchange.html">proto_<wbr/>peer_<wbr/>exchange</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeQuery.html">Peer<wbr/>Exchange<wbr/>Query</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeRPC.html">Peer<wbr/>ExchangeRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeResponse.html">Peer<wbr/>Exchange<wbr/>Response</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerInfo.html">Peer<wbr/>Info</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_store.html">proto_<wbr/>store</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.ContentFilter.html">Content<wbr/>Filter</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryQuery.html">History<wbr/>Query</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryRPC.html">HistoryRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryResponse.html">History<wbr/>Response</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryResponse.HistoryError.html">History<wbr/>Error</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.Index.html">Index</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.PagingInfo.html">Paging<wbr/>Info</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.PagingInfo.Direction.html">Direction</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.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/_waku_proto.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_utils.html">@waku/utils</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="_waku_core._internal_.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>
<ul>
<li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="_waku_core._internal_.Protocols.html#Filter" 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>Filter</a></li>
<li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="_waku_core._internal_.Protocols.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-enum-member tsd-parent-kind-enum"><a href="_waku_core._internal_.Protocols.html#PeerExchange" 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/>Exchange</a></li>
<li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="_waku_core._internal_.Protocols.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-enum-member tsd-parent-kind-enum"><a href="_waku_core._internal_.Protocols.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></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>

View File

@ -18,7 +18,7 @@
<li><a href="_waku_core.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/3b4bc8b2/packages/core/src/lib/store/history_rpc.ts#L7">packages/core/src/lib/store/history_rpc.ts:7</a></li></ul></aside>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/store/history_rpc.ts#L7">packages/core/src/lib/store/history_rpc.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">
@ -35,12 +35,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">&quot;backward&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/store/history_rpc.ts#L8">packages/core/src/lib/store/history_rpc.ts:8</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/store/history_rpc.ts#L8">packages/core/src/lib/store/history_rpc.ts:8</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">&quot;forward&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/store/history_rpc.ts#L9">packages/core/src/lib/store/history_rpc.ts:9</a></li></ul></aside></section></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/store/history_rpc.ts#L9">packages/core/src/lib/store/history_rpc.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">
@ -51,8 +51,7 @@
<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>
<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></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">
@ -64,6 +63,9 @@
<ul>
<li class="current tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -80,15 +82,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -0,0 +1,160 @@
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>PageDirection | @waku/root</title><meta name="description" content="Documentation for @waku/root"/><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 tsd-toolbar-icon 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>
<div class="field">
<div id="tsd-toolbar-links"></div></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">@waku/root</a></div>
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon 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">@waku/root</a></li>
<li><a href="../modules/_waku_create.html">@waku/create</a></li>
<li><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li>
<li><a href="_waku_create._internal_.PageDirection.html">PageDirection</a></li></ul>
<h1>Enumeration PageDirection</h1></div><aside class="tsd-sources">
<ul>
<li>Defined in packages/interfaces/dist/store.d.ts:3</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="_waku_create._internal_.PageDirection.html#BACKWARD" 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>BACKWARD</span></a>
<a href="_waku_create._internal_.PageDirection.html#FORWARD" 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>FORWARD</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="BACKWARD" class="tsd-anchor"></a>
<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">&quot;backward&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in packages/interfaces/dist/store.d.ts:4</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">&quot;forward&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in packages/interfaces/dist/store.d.ts:5</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></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">@waku/root</a>
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.html">version_<wbr/>0</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.html">proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li></ul></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku.html">waku</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_filter.html">waku_<wbr/>filter</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="current tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_filter.html">proto_<wbr/>filter</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRPC.html">FilterRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRequest.html">Filter<wbr/>Request</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRequest.ContentFilter.html">Content<wbr/>Filter</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.MessagePush.html">Message<wbr/>Push</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_lightpush.html">proto_<wbr/>lightpush</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushRPC.html">PushRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushRequest.html">Push<wbr/>Request</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushResponse.html">Push<wbr/>Response</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_message.html">proto_<wbr/>message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_message.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_peer_exchange.html">proto_<wbr/>peer_<wbr/>exchange</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeQuery.html">Peer<wbr/>Exchange<wbr/>Query</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeRPC.html">Peer<wbr/>ExchangeRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeResponse.html">Peer<wbr/>Exchange<wbr/>Response</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerInfo.html">Peer<wbr/>Info</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_store.html">proto_<wbr/>store</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.ContentFilter.html">Content<wbr/>Filter</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryQuery.html">History<wbr/>Query</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryRPC.html">HistoryRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryResponse.html">History<wbr/>Response</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryResponse.HistoryError.html">History<wbr/>Error</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.Index.html">Index</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.PagingInfo.html">Paging<wbr/>Info</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.PagingInfo.Direction.html">Direction</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.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/_waku_proto.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_utils.html">@waku/utils</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="_waku_create._internal_.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>
<ul>
<li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="_waku_create._internal_.PageDirection.html#BACKWARD" 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>BACKWARD</a></li>
<li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="_waku_create._internal_.PageDirection.html#FORWARD" 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>FORWARD</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>

View File

@ -0,0 +1,181 @@
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Protocols | @waku/root</title><meta name="description" content="Documentation for @waku/root"/><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 tsd-toolbar-icon 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>
<div class="field">
<div id="tsd-toolbar-links"></div></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">@waku/root</a></div>
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon 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">@waku/root</a></li>
<li><a href="../modules/_waku_create.html">@waku/create</a></li>
<li><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li>
<li><a href="_waku_create._internal_.Protocols.html">Protocols</a></li></ul>
<h1>Enumeration Protocols</h1></div><aside class="tsd-sources">
<ul>
<li>Defined in packages/interfaces/dist/protocols.d.ts:5</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="_waku_create._internal_.Protocols.html#Filter" 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>Filter</span></a>
<a href="_waku_create._internal_.Protocols.html#LightPush" 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>Light<wbr/>Push</span></a>
<a href="_waku_create._internal_.Protocols.html#PeerExchange" 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>Peer<wbr/>Exchange</span></a>
<a href="_waku_create._internal_.Protocols.html#Relay" 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>Relay</span></a>
<a href="_waku_create._internal_.Protocols.html#Store" 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>Store</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="Filter" class="tsd-anchor"></a>
<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">&quot;filter&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in packages/interfaces/dist/protocols.d.ts:9</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">&quot;lightpush&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in packages/interfaces/dist/protocols.d.ts:8</li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="PeerExchange" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>Peer<wbr/>Exchange</span><a href="#PeerExchange" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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/>Exchange<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;peer-exchange&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in packages/interfaces/dist/protocols.d.ts:10</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">&quot;relay&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in packages/interfaces/dist/protocols.d.ts:6</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">&quot;store&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in packages/interfaces/dist/protocols.d.ts:7</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></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">@waku/root</a>
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.html">version_<wbr/>0</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.html">proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li></ul></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku.html">waku</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_filter.html">waku_<wbr/>filter</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="current tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_filter.html">proto_<wbr/>filter</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRPC.html">FilterRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRequest.html">Filter<wbr/>Request</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRequest.ContentFilter.html">Content<wbr/>Filter</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.MessagePush.html">Message<wbr/>Push</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_lightpush.html">proto_<wbr/>lightpush</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushRPC.html">PushRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushRequest.html">Push<wbr/>Request</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushResponse.html">Push<wbr/>Response</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_message.html">proto_<wbr/>message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_message.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_peer_exchange.html">proto_<wbr/>peer_<wbr/>exchange</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeQuery.html">Peer<wbr/>Exchange<wbr/>Query</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeRPC.html">Peer<wbr/>ExchangeRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeResponse.html">Peer<wbr/>Exchange<wbr/>Response</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerInfo.html">Peer<wbr/>Info</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_store.html">proto_<wbr/>store</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.ContentFilter.html">Content<wbr/>Filter</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryQuery.html">History<wbr/>Query</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryRPC.html">HistoryRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryResponse.html">History<wbr/>Response</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryResponse.HistoryError.html">History<wbr/>Error</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.Index.html">Index</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.PagingInfo.html">Paging<wbr/>Info</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.PagingInfo.Direction.html">Direction</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.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/_waku_proto.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_utils.html">@waku/utils</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="_waku_create._internal_.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>
<ul>
<li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="_waku_create._internal_.Protocols.html#Filter" 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>Filter</a></li>
<li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="_waku_create._internal_.Protocols.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-enum-member tsd-parent-kind-enum"><a href="_waku_create._internal_.Protocols.html#PeerExchange" 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/>Exchange</a></li>
<li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="_waku_create._internal_.Protocols.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-enum-member tsd-parent-kind-enum"><a href="_waku_create._internal_.Protocols.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></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>

View File

@ -0,0 +1,167 @@
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>KeypairType | @waku/root</title><meta name="description" content="Documentation for @waku/root"/><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 tsd-toolbar-icon 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>
<div class="field">
<div id="tsd-toolbar-links"></div></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">@waku/root</a></div>
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon 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">@waku/root</a></li>
<li><a href="../modules/_waku_dns_discovery.html">@waku/dns-discovery</a></li>
<li><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li>
<li><a href="_waku_dns_discovery._internal_.KeypairType.html">KeypairType</a></li></ul>
<h1>Enumeration KeypairType</h1></div><aside class="tsd-sources">
<ul>
<li>Defined in packages/enr/dist/keypair/types.d.ts:1</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="_waku_dns_discovery._internal_.KeypairType.html#ed25519" 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>ed25519</span></a>
<a href="_waku_dns_discovery._internal_.KeypairType.html#rsa" 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>rsa</span></a>
<a href="_waku_dns_discovery._internal_.KeypairType.html#secp256k1" 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>secp256k1</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="ed25519" class="tsd-anchor"></a>
<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 packages/enr/dist/keypair/types.d.ts:3</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 packages/enr/dist/keypair/types.d.ts:2</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 packages/enr/dist/keypair/types.d.ts:4</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></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">@waku/root</a>
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.html">version_<wbr/>0</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.html">proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li></ul></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku.html">waku</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_filter.html">waku_<wbr/>filter</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="current tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_filter.html">proto_<wbr/>filter</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRPC.html">FilterRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRequest.html">Filter<wbr/>Request</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRequest.ContentFilter.html">Content<wbr/>Filter</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.MessagePush.html">Message<wbr/>Push</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_lightpush.html">proto_<wbr/>lightpush</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushRPC.html">PushRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushRequest.html">Push<wbr/>Request</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushResponse.html">Push<wbr/>Response</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_message.html">proto_<wbr/>message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_message.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_peer_exchange.html">proto_<wbr/>peer_<wbr/>exchange</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeQuery.html">Peer<wbr/>Exchange<wbr/>Query</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeRPC.html">Peer<wbr/>ExchangeRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeResponse.html">Peer<wbr/>Exchange<wbr/>Response</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerInfo.html">Peer<wbr/>Info</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_store.html">proto_<wbr/>store</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.ContentFilter.html">Content<wbr/>Filter</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryQuery.html">History<wbr/>Query</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryRPC.html">HistoryRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryResponse.html">History<wbr/>Response</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryResponse.HistoryError.html">History<wbr/>Error</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.Index.html">Index</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.PagingInfo.html">Paging<wbr/>Info</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.PagingInfo.Direction.html">Direction</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.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/_waku_proto.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_utils.html">@waku/utils</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="_waku_dns_discovery._internal_.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>
<ul>
<li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="_waku_dns_discovery._internal_.KeypairType.html#ed25519" 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>ed25519</a></li>
<li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="_waku_dns_discovery._internal_.KeypairType.html#rsa" 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>rsa</a></li>
<li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="_waku_dns_discovery._internal_.KeypairType.html#secp256k1" 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>secp256k1</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>

View File

@ -17,7 +17,7 @@
<li><a href="_waku_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/3b4bc8b2/packages/enr/src/keypair/types.ts#L1">packages/enr/src/keypair/types.ts:1</a></li></ul></aside>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/keypair/types.ts#L1">packages/enr/src/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">
@ -35,17 +35,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/3b4bc8b2/packages/enr/src/keypair/types.ts#L3">packages/enr/src/keypair/types.ts:3</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/keypair/types.ts#L3">packages/enr/src/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/3b4bc8b2/packages/enr/src/keypair/types.ts#L2">packages/enr/src/keypair/types.ts:2</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/keypair/types.ts#L2">packages/enr/src/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/3b4bc8b2/packages/enr/src/keypair/types.ts#L4">packages/enr/src/keypair/types.ts:4</a></li></ul></aside></section></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/keypair/types.ts#L4">packages/enr/src/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">
@ -56,8 +56,7 @@
<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>
<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></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">
@ -69,6 +68,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -85,15 +87,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -17,7 +17,7 @@
<li><a href="_waku_interfaces.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/3b4bc8b2/packages/interfaces/src/store.ts#L4">packages/interfaces/src/store.ts:4</a></li></ul></aside>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/interfaces/src/store.ts#L4">packages/interfaces/src/store.ts:4</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,12 +34,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">&quot;backward&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/interfaces/src/store.ts#L5">packages/interfaces/src/store.ts:5</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/interfaces/src/store.ts#L5">packages/interfaces/src/store.ts:5</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">&quot;forward&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/interfaces/src/store.ts#L6">packages/interfaces/src/store.ts:6</a></li></ul></aside></section></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/interfaces/src/store.ts#L6">packages/interfaces/src/store.ts:6</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">
@ -50,8 +50,7 @@
<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>
<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></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">
@ -63,6 +62,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -79,15 +81,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -17,7 +17,7 @@
<li><a href="_waku_interfaces.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/3b4bc8b2/packages/interfaces/src/protocols.ts#L7">packages/interfaces/src/protocols.ts:7</a></li></ul></aside>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/interfaces/src/protocols.ts#L7">packages/interfaces/src/protocols.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">
@ -37,27 +37,27 @@
<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">&quot;filter&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/interfaces/src/protocols.ts#L11">packages/interfaces/src/protocols.ts:11</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/interfaces/src/protocols.ts#L11">packages/interfaces/src/protocols.ts:11</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">&quot;lightpush&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/interfaces/src/protocols.ts#L10">packages/interfaces/src/protocols.ts:10</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/interfaces/src/protocols.ts#L10">packages/interfaces/src/protocols.ts:10</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="PeerExchange" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>Peer<wbr/>Exchange</span><a href="#PeerExchange" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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/>Exchange<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;peer-exchange&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/interfaces/src/protocols.ts#L12">packages/interfaces/src/protocols.ts:12</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/interfaces/src/protocols.ts#L12">packages/interfaces/src/protocols.ts:12</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">&quot;relay&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/interfaces/src/protocols.ts#L8">packages/interfaces/src/protocols.ts:8</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/interfaces/src/protocols.ts#L8">packages/interfaces/src/protocols.ts:8</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">&quot;store&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/interfaces/src/protocols.ts#L9">packages/interfaces/src/protocols.ts:9</a></li></ul></aside></section></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/interfaces/src/protocols.ts#L9">packages/interfaces/src/protocols.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">
@ -68,8 +68,7 @@
<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>
<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></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">
@ -81,6 +80,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -97,15 +99,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -19,8 +19,8 @@
<li><a href="_waku_proto.proto_store.HistoryResponse.HistoryError-1.html">HistoryError</a></li></ul>
<h1>Enumeration HistoryError</h1></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/proto/src/lib/store.ts#L366">packages/proto/src/lib/store.ts:366</a></li>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/proto/src/lib/store.ts#L376">packages/proto/src/lib/store.ts:376</a></li></ul></aside>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/proto/src/lib/store.ts#L366">packages/proto/src/lib/store.ts:366</a></li>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/proto/src/lib/store.ts#L376">packages/proto/src/lib/store.ts:376</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>ERROR_<wbr/>INVALID_<wbr/>CURSOR</span><a href="#ERROR_INVALID_CURSOR" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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">ERROR_<wbr/>INVALID_<wbr/>CURSOR<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;ERROR_INVALID_CURSOR&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/proto/src/lib/store.ts#L368">packages/proto/src/lib/store.ts:368</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/proto/src/lib/store.ts#L368">packages/proto/src/lib/store.ts:368</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="ERROR_NONE_UNSPECIFIED" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>ERROR_<wbr/>NONE_<wbr/>UNSPECIFIED</span><a href="#ERROR_NONE_UNSPECIFIED" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">ERROR_<wbr/>NONE_<wbr/>UNSPECIFIED<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;ERROR_NONE_UNSPECIFIED&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/proto/src/lib/store.ts#L367">packages/proto/src/lib/store.ts:367</a></li></ul></aside></section></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/proto/src/lib/store.ts#L367">packages/proto/src/lib/store.ts:367</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">
@ -53,8 +53,7 @@
<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>
<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></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">
@ -66,6 +65,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -82,15 +84,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -19,8 +19,8 @@
<li><a href="_waku_proto.proto_store.PagingInfo.Direction-1.html">Direction</a></li></ul>
<h1>Enumeration Direction</h1></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/proto/src/lib/store.ts#L106">packages/proto/src/lib/store.ts:106</a></li>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/proto/src/lib/store.ts#L116">packages/proto/src/lib/store.ts:116</a></li></ul></aside>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/proto/src/lib/store.ts#L106">packages/proto/src/lib/store.ts:106</a></li>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/proto/src/lib/store.ts#L116">packages/proto/src/lib/store.ts:116</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>DIRECTION_<wbr/>BACKWARD_<wbr/>UNSPECIFIED</span><a href="#DIRECTION_BACKWARD_UNSPECIFIED" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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">DIRECTION_<wbr/>BACKWARD_<wbr/>UNSPECIFIED<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;DIRECTION_BACKWARD_UNSPECIFIED&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/proto/src/lib/store.ts#L107">packages/proto/src/lib/store.ts:107</a></li></ul></aside></section>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/proto/src/lib/store.ts#L107">packages/proto/src/lib/store.ts:107</a></li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="DIRECTION_FORWARD" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>DIRECTION_<wbr/>FORWARD</span><a href="#DIRECTION_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">DIRECTION_<wbr/>FORWARD<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;DIRECTION_FORWARD&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/proto/src/lib/store.ts#L108">packages/proto/src/lib/store.ts:108</a></li></ul></aside></section></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/proto/src/lib/store.ts#L108">packages/proto/src/lib/store.ts:108</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">
@ -53,8 +53,7 @@
<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>
<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></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">
@ -66,6 +65,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -82,15 +84,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -0,0 +1,143 @@
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>codec | @waku/root</title><meta name="description" content="Documentation for @waku/root"/><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 tsd-toolbar-icon 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>
<div class="field">
<div id="tsd-toolbar-links"></div></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">@waku/root</a></div>
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon 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">@waku/root</a></li>
<li><a href="../modules/_waku_core.html">@waku/core</a></li>
<li><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a></li>
<li><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">TopicOnlyMessage</a></li>
<li><a href="_waku_core._internal_.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">&lt;</span><a href="../interfaces/_waku_core._internal_.TopicOnlyMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">TopicOnlyMessage</a><span class="tsd-signature-symbol">&gt;</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">&lt;</span><a href="../interfaces/_waku_core._internal_.TopicOnlyMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">TopicOnlyMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in packages/proto/dist/lib/topic_only_message.d.ts:7</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></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">@waku/root</a>
<ul>
<li class="current tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="current tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.html">version_<wbr/>0</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.html">proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li></ul></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku.html">waku</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_filter.html">waku_<wbr/>filter</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_filter.html">proto_<wbr/>filter</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRPC.html">FilterRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRequest.html">Filter<wbr/>Request</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRequest.ContentFilter.html">Content<wbr/>Filter</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.MessagePush.html">Message<wbr/>Push</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_lightpush.html">proto_<wbr/>lightpush</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushRPC.html">PushRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushRequest.html">Push<wbr/>Request</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushResponse.html">Push<wbr/>Response</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_message.html">proto_<wbr/>message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_message.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_peer_exchange.html">proto_<wbr/>peer_<wbr/>exchange</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeQuery.html">Peer<wbr/>Exchange<wbr/>Query</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeRPC.html">Peer<wbr/>ExchangeRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeResponse.html">Peer<wbr/>Exchange<wbr/>Response</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerInfo.html">Peer<wbr/>Info</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_store.html">proto_<wbr/>store</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.ContentFilter.html">Content<wbr/>Filter</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryQuery.html">History<wbr/>Query</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryRPC.html">HistoryRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryResponse.html">History<wbr/>Response</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryResponse.HistoryError.html">History<wbr/>Error</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.Index.html">Index</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.PagingInfo.html">Paging<wbr/>Info</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.PagingInfo.Direction.html">Direction</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.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/_waku_proto.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_utils.html">@waku/utils</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="_waku_core._internal_.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="_waku_core._internal_.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="_waku_core._internal_.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>

View File

@ -0,0 +1,148 @@
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>decode | @waku/root</title><meta name="description" content="Documentation for @waku/root"/><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 tsd-toolbar-icon 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>
<div class="field">
<div id="tsd-toolbar-links"></div></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">@waku/root</a></div>
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon 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">@waku/root</a></li>
<li><a href="../modules/_waku_core.html">@waku/core</a></li>
<li><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a></li>
<li><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">TopicOnlyMessage</a></li>
<li><a href="_waku_core._internal_.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><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><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/_waku_core._internal_.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: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><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/_waku_core._internal_.TopicOnlyMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">TopicOnlyMessage</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in packages/proto/dist/lib/topic_only_message.d.ts:9</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></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">@waku/root</a>
<ul>
<li class="current tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="current tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.html">version_<wbr/>0</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.html">proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li></ul></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku.html">waku</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_filter.html">waku_<wbr/>filter</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_filter.html">proto_<wbr/>filter</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRPC.html">FilterRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRequest.html">Filter<wbr/>Request</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRequest.ContentFilter.html">Content<wbr/>Filter</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.MessagePush.html">Message<wbr/>Push</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_lightpush.html">proto_<wbr/>lightpush</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushRPC.html">PushRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushRequest.html">Push<wbr/>Request</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushResponse.html">Push<wbr/>Response</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_message.html">proto_<wbr/>message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_message.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_peer_exchange.html">proto_<wbr/>peer_<wbr/>exchange</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeQuery.html">Peer<wbr/>Exchange<wbr/>Query</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeRPC.html">Peer<wbr/>ExchangeRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeResponse.html">Peer<wbr/>Exchange<wbr/>Response</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerInfo.html">Peer<wbr/>Info</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_store.html">proto_<wbr/>store</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.ContentFilter.html">Content<wbr/>Filter</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryQuery.html">History<wbr/>Query</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryRPC.html">HistoryRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryResponse.html">History<wbr/>Response</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryResponse.HistoryError.html">History<wbr/>Error</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.Index.html">Index</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.PagingInfo.html">Paging<wbr/>Info</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.PagingInfo.Direction.html">Direction</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.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/_waku_proto.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_utils.html">@waku/utils</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="_waku_core._internal_.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="_waku_core._internal_.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="_waku_core._internal_.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>

View File

@ -0,0 +1,148 @@
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>encode | @waku/root</title><meta name="description" content="Documentation for @waku/root"/><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 tsd-toolbar-icon 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>
<div class="field">
<div id="tsd-toolbar-links"></div></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">@waku/root</a></div>
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon 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">@waku/root</a></li>
<li><a href="../modules/_waku_core.html">@waku/core</a></li>
<li><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a></li>
<li><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">TopicOnlyMessage</a></li>
<li><a href="_waku_core._internal_.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="../interfaces/_waku_core._internal_.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="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><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="../interfaces/_waku_core._internal_.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="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in packages/proto/dist/lib/topic_only_message.d.ts:8</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></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">@waku/root</a>
<ul>
<li class="current tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="current tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.html">version_<wbr/>0</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.html">proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li></ul></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku.html">waku</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_filter.html">waku_<wbr/>filter</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_filter.html">proto_<wbr/>filter</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRPC.html">FilterRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRequest.html">Filter<wbr/>Request</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRequest.ContentFilter.html">Content<wbr/>Filter</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.MessagePush.html">Message<wbr/>Push</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_lightpush.html">proto_<wbr/>lightpush</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushRPC.html">PushRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushRequest.html">Push<wbr/>Request</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushResponse.html">Push<wbr/>Response</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_message.html">proto_<wbr/>message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_message.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_peer_exchange.html">proto_<wbr/>peer_<wbr/>exchange</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeQuery.html">Peer<wbr/>Exchange<wbr/>Query</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeRPC.html">Peer<wbr/>ExchangeRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeResponse.html">Peer<wbr/>Exchange<wbr/>Response</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerInfo.html">Peer<wbr/>Info</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_store.html">proto_<wbr/>store</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.ContentFilter.html">Content<wbr/>Filter</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryQuery.html">History<wbr/>Query</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryRPC.html">HistoryRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryResponse.html">History<wbr/>Response</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryResponse.HistoryError.html">History<wbr/>Error</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.Index.html">Index</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.PagingInfo.html">Paging<wbr/>Info</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.PagingInfo.Direction.html">Direction</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.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/_waku_proto.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_utils.html">@waku/utils</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="_waku_core._internal_.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="_waku_core._internal_.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="_waku_core._internal_.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>

View File

@ -36,7 +36,7 @@ messages.</p>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../modules/_waku_core.message.html" class="tsd-signature-type" data-tsd-kind="Namespace">message</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.version_0.html" class="tsd-signature-type" data-tsd-kind="Namespace">version_0</a><span class="tsd-signature-symbol">.</span><a href="../classes/_waku_core.message.version_0.Decoder.html" class="tsd-signature-type" data-tsd-kind="Class">Decoder</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/message/version_0.ts#L160">packages/core/src/lib/message/version_0.ts:160</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/message/version_0.ts#L160">packages/core/src/lib/message/version_0.ts:160</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">
@ -47,8 +47,7 @@ messages.</p>
<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>
<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></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">
@ -60,6 +59,9 @@ messages.</p>
<ul>
<li class="current tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -76,15 +78,27 @@ messages.</p>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -18,7 +18,7 @@
<h1>Function createEncoder</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="createEncoder">create<wbr/>Encoder<span class="tsd-signature-symbol">(</span>__namedParameters<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.EncoderOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">EncoderOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/_waku_core.message.html" class="tsd-signature-type" data-tsd-kind="Namespace">message</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.version_0.html" class="tsd-signature-type" data-tsd-kind="Namespace">version_0</a><span class="tsd-signature-symbol">.</span><a href="../classes/_waku_core.message.version_0.Encoder.html" class="tsd-signature-type" data-tsd-kind="Class">Encoder</a><a href="#createEncoder" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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="createEncoder">create<wbr/>Encoder<span class="tsd-signature-symbol">(</span>__namedParameters<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_core._internal_.EncoderOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">EncoderOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/_waku_core.message.html" class="tsd-signature-type" data-tsd-kind="Namespace">message</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.version_0.html" class="tsd-signature-type" data-tsd-kind="Namespace">version_0</a><span class="tsd-signature-symbol">.</span><a href="../classes/_waku_core.message.version_0.Encoder.html" class="tsd-signature-type" data-tsd-kind="Class">Encoder</a><a href="#createEncoder" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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>Creates an encoder that encode messages without Waku level encryption or signature.</p>
<p>An encoder is used to encode messages in the [`14/WAKU2-MESSAGE](<a href="https://rfc.vac.dev/spec/14/">https://rfc.vac.dev/spec/14/</a>)
@ -31,10 +31,10 @@ messages.</p>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>__namedParameters: <a href="../interfaces/_waku_interfaces.EncoderOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">EncoderOptions</a></h5></li></ul></div>
<h5>__namedParameters: <a href="../interfaces/_waku_core._internal_.EncoderOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">EncoderOptions</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../modules/_waku_core.message.html" class="tsd-signature-type" data-tsd-kind="Namespace">message</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.version_0.html" class="tsd-signature-type" data-tsd-kind="Namespace">version_0</a><span class="tsd-signature-symbol">.</span><a href="../classes/_waku_core.message.version_0.Encoder.html" class="tsd-signature-type" data-tsd-kind="Class">Encoder</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/message/version_0.ts#L104">packages/core/src/lib/message/version_0.ts:104</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/message/version_0.ts#L104">packages/core/src/lib/message/version_0.ts:104</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">
@ -45,8 +45,7 @@ messages.</p>
<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>
<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></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">
@ -58,6 +57,9 @@ messages.</p>
<ul>
<li class="current tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -74,15 +76,27 @@ messages.</p>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -37,8 +37,7 @@
<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>
<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></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">
@ -50,6 +49,9 @@
<ul>
<li class="current tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -66,15 +68,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -22,13 +22,13 @@
<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/_waku_core.message.html" class="tsd-signature-type" data-tsd-kind="Namespace">message</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.version_0.html" class="tsd-signature-type" data-tsd-kind="Namespace">version_0</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.version_0.proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/_waku_core.message.version_0.proto.RateLimitProof-1.html" class="tsd-signature-type" data-tsd-kind="Interface">RateLimitProof</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><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><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/_waku_core.message.html" class="tsd-signature-type" data-tsd-kind="Namespace">message</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.version_0.html" class="tsd-signature-type" data-tsd-kind="Namespace">version_0</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.version_0.proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/_waku_core.message.version_0.proto.RateLimitProof-1.html" class="tsd-signature-type" data-tsd-kind="Interface">RateLimitProof</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>
<h5>buf: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><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/_waku_core.message.html" class="tsd-signature-type" data-tsd-kind="Namespace">message</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.version_0.html" class="tsd-signature-type" data-tsd-kind="Namespace">version_0</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.version_0.proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/_waku_core.message.version_0.proto.RateLimitProof-1.html" class="tsd-signature-type" data-tsd-kind="Interface">RateLimitProof</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in packages/proto/dist/lib/message.d.ts:15</li></ul></aside></li></ul></section></div>
@ -42,8 +42,7 @@
<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>
<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></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">
@ -55,6 +54,9 @@
<ul>
<li class="current tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -71,15 +73,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -22,14 +22,14 @@
<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/_waku_core.message.html" class="tsd-signature-type" data-tsd-kind="Namespace">message</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.version_0.html" class="tsd-signature-type" data-tsd-kind="Namespace">version_0</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.version_0.proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/_waku_core.message.version_0.proto.RateLimitProof-1.html" class="tsd-signature-type" data-tsd-kind="Interface">RateLimitProof</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="../modules/_waku_core.message.html" class="tsd-signature-type" data-tsd-kind="Namespace">message</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.version_0.html" class="tsd-signature-type" data-tsd-kind="Namespace">version_0</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.version_0.proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/_waku_core.message.version_0.proto.RateLimitProof-1.html" class="tsd-signature-type" data-tsd-kind="Interface">RateLimitProof</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><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/_waku_core.message.html" class="tsd-signature-type" data-tsd-kind="Namespace">message</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.version_0.html" class="tsd-signature-type" data-tsd-kind="Namespace">version_0</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.version_0.proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/_waku_core.message.version_0.proto.RateLimitProof-1.html" class="tsd-signature-type" data-tsd-kind="Interface">RateLimitProof</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources">
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in packages/proto/dist/lib/message.d.ts:14</li></ul></aside></li></ul></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
@ -42,8 +42,7 @@
<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>
<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></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">
@ -55,6 +54,9 @@
<ul>
<li class="current tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -71,15 +73,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -37,8 +37,7 @@
<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>
<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></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">
@ -50,6 +49,9 @@
<ul>
<li class="current tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -66,15 +68,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -22,13 +22,13 @@
<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/_waku_core.message.html" class="tsd-signature-type" data-tsd-kind="Namespace">message</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.version_0.html" class="tsd-signature-type" data-tsd-kind="Namespace">version_0</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.version_0.proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/_waku_core.message.version_0.proto.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><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><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/_waku_core.message.html" class="tsd-signature-type" data-tsd-kind="Namespace">message</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.version_0.html" class="tsd-signature-type" data-tsd-kind="Namespace">version_0</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.version_0.proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/_waku_core.message.version_0.proto.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>
<h5>buf: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><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/_waku_core.message.html" class="tsd-signature-type" data-tsd-kind="Namespace">message</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.version_0.html" class="tsd-signature-type" data-tsd-kind="Namespace">version_0</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.version_0.proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/_waku_core.message.version_0.proto.WakuMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuMessage</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in packages/proto/dist/lib/message.d.ts:29</li></ul></aside></li></ul></section></div>
@ -42,8 +42,7 @@
<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>
<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></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">
@ -55,6 +54,9 @@
<ul>
<li class="current tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -71,15 +73,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -22,14 +22,14 @@
<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/_waku_core.message.html" class="tsd-signature-type" data-tsd-kind="Namespace">message</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.version_0.html" class="tsd-signature-type" data-tsd-kind="Namespace">version_0</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.version_0.proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/_waku_core.message.version_0.proto.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="../modules/_waku_core.message.html" class="tsd-signature-type" data-tsd-kind="Namespace">message</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.version_0.html" class="tsd-signature-type" data-tsd-kind="Namespace">version_0</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.version_0.proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/_waku_core.message.version_0.proto.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="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><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/_waku_core.message.html" class="tsd-signature-type" data-tsd-kind="Namespace">message</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.version_0.html" class="tsd-signature-type" data-tsd-kind="Namespace">version_0</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_core.message.version_0.proto.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/_waku_core.message.version_0.proto.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">
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in packages/proto/dist/lib/message.d.ts:28</li></ul></aside></li></ul></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
@ -42,8 +42,7 @@
<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>
<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></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">
@ -55,6 +54,9 @@
<ul>
<li class="current tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -71,15 +73,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -18,7 +18,7 @@
<h1>Function waitForRemotePeer</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="waitForRemotePeer">wait<wbr/>For<wbr/>Remote<wbr/>Peer<span class="tsd-signature-symbol">(</span>waku<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.Waku.html" class="tsd-signature-type" data-tsd-kind="Interface">Waku</a>, protocols<span class="tsd-signature-symbol">?: </span><a href="../enums/_waku_interfaces.Protocols.html" class="tsd-signature-type" data-tsd-kind="Enumeration">Protocols</a><span class="tsd-signature-symbol">[]</span>, timeoutMs<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">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#waitForRemotePeer" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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="waitForRemotePeer">wait<wbr/>For<wbr/>Remote<wbr/>Peer<span class="tsd-signature-symbol">(</span>waku<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_core._internal_.Waku.html" class="tsd-signature-type" data-tsd-kind="Interface">Waku</a>, protocols<span class="tsd-signature-symbol">?: </span><a href="../enums/_waku_core._internal_.Protocols.html" class="tsd-signature-type" data-tsd-kind="Enumeration">Protocols</a><span class="tsd-signature-symbol">[]</span>, timeoutMs<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><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#waitForRemotePeer" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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>Wait for a remote peer to be ready given the passed protocols.
Must be used after attempting to connect to nodes, using
@ -39,20 +39,20 @@ remote nodes, <strong>rejects</strong> if the timeoutMs is reached.</p>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>waku: <a href="../interfaces/_waku_interfaces.Waku.html" class="tsd-signature-type" data-tsd-kind="Interface">Waku</a></h5>
<h5>waku: <a href="../interfaces/_waku_core._internal_.Waku.html" class="tsd-signature-type" data-tsd-kind="Interface">Waku</a></h5>
<div class="tsd-comment tsd-typography"><p>The Waku Node</p>
</div></li>
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> protocols: <a href="../enums/_waku_interfaces.Protocols.html" class="tsd-signature-type" data-tsd-kind="Enumeration">Protocols</a><span class="tsd-signature-symbol">[]</span></h5>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> protocols: <a href="../enums/_waku_core._internal_.Protocols.html" class="tsd-signature-type" data-tsd-kind="Enumeration">Protocols</a><span class="tsd-signature-symbol">[]</span></h5>
<div class="tsd-comment tsd-typography"><p>The protocols that need to be enabled by remote peers.</p>
</div></li>
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> timeoutMs: <span class="tsd-signature-type">number</span></h5>
<div class="tsd-comment tsd-typography"><p>A timeout value in milliseconds..</p>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/wait_for_remote_peer.ts#L28">packages/core/src/lib/wait_for_remote_peer.ts:28</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/wait_for_remote_peer.ts#L28">packages/core/src/lib/wait_for_remote_peer.ts:28</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">
@ -63,8 +63,7 @@ remote nodes, <strong>rejects</strong> if the timeoutMs is reached.</p>
<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>
<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></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">
@ -76,6 +75,9 @@ remote nodes, <strong>rejects</strong> if the timeoutMs is reached.</p>
<ul>
<li class="current tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -92,15 +94,27 @@ remote nodes, <strong>rejects</strong> if the timeoutMs is reached.</p>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -19,27 +19,27 @@
<h1>Function wakuFilter</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="wakuFilter">waku<wbr/>Filter<span class="tsd-signature-symbol">(</span>init<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_waku_interfaces.ProtocolCreateOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">ProtocolCreateOptions</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_core.waku_filter.FilterComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">FilterComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../interfaces/_waku_interfaces.IFilter.html" class="tsd-signature-type" data-tsd-kind="Interface">IFilter</a><span class="tsd-signature-symbol">)</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"><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="wakuFilter">waku<wbr/>Filter<span class="tsd-signature-symbol">(</span>init<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_waku_core._internal_.ProtocolCreateOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">ProtocolCreateOptions</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>libp2p<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Libp2p</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../interfaces/_waku_core._internal_.IFilter.html" class="tsd-signature-type" data-tsd-kind="Interface">IFilter</a><span class="tsd-signature-symbol">)</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"><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>init: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_waku_interfaces.ProtocolCreateOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">ProtocolCreateOptions</a><span class="tsd-signature-symbol">&gt;</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>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_core.waku_filter.FilterComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">FilterComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../interfaces/_waku_interfaces.IFilter.html" class="tsd-signature-type" data-tsd-kind="Interface">IFilter</a><span class="tsd-signature-symbol">)</span></h4>
<h5>init: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_waku_core._internal_.ProtocolCreateOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">ProtocolCreateOptions</a><span class="tsd-signature-symbol">&gt;</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>libp2p<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Libp2p</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../interfaces/_waku_core._internal_.IFilter.html" class="tsd-signature-type" data-tsd-kind="Interface">IFilter</a><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" id="wakuFilter.__type.__type-1"><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_core.waku_filter.FilterComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">FilterComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.IFilter.html" class="tsd-signature-type" data-tsd-kind="Interface">IFilter</a></li>
<li class="tsd-signature" id="wakuFilter.__type.__type-1"><span class="tsd-signature-symbol">(</span>libp2p<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Libp2p</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_core._internal_.IFilter.html" class="tsd-signature-type" data-tsd-kind="Interface">IFilter</a></li>
<li class="tsd-description">
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>components: <a href="../interfaces/_waku_core.waku_filter.FilterComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">FilterComponents</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../interfaces/_waku_interfaces.IFilter.html" class="tsd-signature-type" data-tsd-kind="Interface">IFilter</a></h4></li></ul></li></ul><aside class="tsd-sources">
<h5>libp2p: <span class="tsd-signature-type">Libp2p</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../interfaces/_waku_core._internal_.IFilter.html" class="tsd-signature-type" data-tsd-kind="Interface">IFilter</a></h4></li></ul></li></ul><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/filter/index.ts#L303">packages/core/src/lib/filter/index.ts:303</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/filter/index.ts#L291">packages/core/src/lib/filter/index.ts:291</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,8 +50,7 @@
<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>
<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></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">
@ -63,6 +62,9 @@
<ul>
<li class="current tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -79,15 +81,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>
@ -136,7 +150,6 @@
<li class="tsd-kind-module"><a href="../modules/_waku_utils.html">@waku/utils</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/_waku_core.waku_filter.FilterComponents.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>Filter<wbr/>Components</a></li>
<li class="tsd-kind-type-alias tsd-parent-kind-namespace"><a href="../types/_waku_core.waku_filter.ContentFilter.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)" 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>Content<wbr/>Filter</a></li>
<li class="tsd-kind-type-alias tsd-parent-kind-namespace"><a href="../types/_waku_core.waku_filter.UnsubscribeFunction.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>Unsubscribe<wbr/>Function</a></li>
<li class="tsd-kind-variable tsd-parent-kind-namespace"><a href="../variables/_waku_core.waku_filter.FilterCodec.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>Filter<wbr/>Codec</a></li>

View File

@ -35,8 +35,7 @@
<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>
<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></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">
@ -48,6 +47,9 @@
<ul>
<li class="current tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -64,15 +66,27 @@
<li class="current tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -20,13 +20,13 @@
<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/_waku_core.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/_waku_core.waku_light_push.PushResponse-1.html" class="tsd-signature-type" data-tsd-kind="Interface">PushResponse</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><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><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/_waku_core.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/_waku_core.waku_light_push.PushResponse-1.html" class="tsd-signature-type" data-tsd-kind="Interface">PushResponse</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>
<h5>buf: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><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/_waku_core.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/_waku_core.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 packages/proto/dist/lib/light_push.d.ts:19</li></ul></aside></li></ul></section></div>
@ -40,8 +40,7 @@
<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>
<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></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">
@ -53,6 +52,9 @@
<ul>
<li class="current tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -69,15 +71,27 @@
<li class="current tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -20,14 +20,14 @@
<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/_waku_core.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/_waku_core.waku_light_push.PushResponse-1.html" class="tsd-signature-type" data-tsd-kind="Interface">PushResponse</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="../modules/_waku_core.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/_waku_core.waku_light_push.PushResponse-1.html" class="tsd-signature-type" data-tsd-kind="Interface">PushResponse</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><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/_waku_core.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/_waku_core.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">
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in packages/proto/dist/lib/light_push.d.ts:18</li></ul></aside></li></ul></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
@ -40,8 +40,7 @@
<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>
<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></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">
@ -53,6 +52,9 @@
<ul>
<li class="current tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -69,15 +71,27 @@
<li class="current tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -19,27 +19,27 @@
<h1>Function wakuLightPush</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="wakuLightPush">waku<wbr/>Light<wbr/>Push<span class="tsd-signature-symbol">(</span>init<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_waku_interfaces.ProtocolCreateOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">ProtocolCreateOptions</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_core.waku_light_push.LightPushComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">LightPushComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../interfaces/_waku_interfaces.ILightPush.html" class="tsd-signature-type" data-tsd-kind="Interface">ILightPush</a><span class="tsd-signature-symbol">)</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"><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="wakuLightPush">waku<wbr/>Light<wbr/>Push<span class="tsd-signature-symbol">(</span>init<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_waku_core._internal_.ProtocolCreateOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">ProtocolCreateOptions</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>libp2p<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Libp2p</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../interfaces/_waku_core._internal_.ILightPush.html" class="tsd-signature-type" data-tsd-kind="Interface">ILightPush</a><span class="tsd-signature-symbol">)</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"><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>init: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_waku_interfaces.ProtocolCreateOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">ProtocolCreateOptions</a><span class="tsd-signature-symbol">&gt;</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>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_core.waku_light_push.LightPushComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">LightPushComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../interfaces/_waku_interfaces.ILightPush.html" class="tsd-signature-type" data-tsd-kind="Interface">ILightPush</a><span class="tsd-signature-symbol">)</span></h4>
<h5>init: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_waku_core._internal_.ProtocolCreateOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">ProtocolCreateOptions</a><span class="tsd-signature-symbol">&gt;</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>libp2p<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Libp2p</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../interfaces/_waku_core._internal_.ILightPush.html" class="tsd-signature-type" data-tsd-kind="Interface">ILightPush</a><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" id="wakuLightPush.__type.__type-1"><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_core.waku_light_push.LightPushComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">LightPushComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.ILightPush.html" class="tsd-signature-type" data-tsd-kind="Interface">ILightPush</a></li>
<li class="tsd-signature" id="wakuLightPush.__type.__type-1"><span class="tsd-signature-symbol">(</span>libp2p<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Libp2p</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_core._internal_.ILightPush.html" class="tsd-signature-type" data-tsd-kind="Interface">ILightPush</a></li>
<li class="tsd-description">
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>components: <a href="../interfaces/_waku_core.waku_light_push.LightPushComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">LightPushComponents</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../interfaces/_waku_interfaces.ILightPush.html" class="tsd-signature-type" data-tsd-kind="Interface">ILightPush</a></h4></li></ul></li></ul><aside class="tsd-sources">
<h5>libp2p: <span class="tsd-signature-type">Libp2p</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../interfaces/_waku_core._internal_.ILightPush.html" class="tsd-signature-type" data-tsd-kind="Interface">ILightPush</a></h4></li></ul></li></ul><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/light_push/index.ts#L146">packages/core/src/lib/light_push/index.ts:146</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/light_push/index.ts#L136">packages/core/src/lib/light_push/index.ts:136</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,8 +50,7 @@
<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>
<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></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">
@ -63,6 +62,9 @@
<ul>
<li class="current tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -79,15 +81,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>
@ -136,8 +150,7 @@
<li class="tsd-kind-module"><a href="../modules/_waku_utils.html">@waku/utils</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/_waku_core.waku_light_push.LightPushComponents.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>Light<wbr/>Push<wbr/>Components</a></li>
<li class="tsd-kind-interface tsd-parent-kind-namespace"><a href="../interfaces/_waku_core.waku_light_push.PushResponse-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>Push<wbr/>Response</a></li>
<li class="tsd-kind-interface tsd-parent-kind-namespace"><a href="../interfaces/_waku_core.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>Push<wbr/>Response</a></li>
<li class="tsd-kind-variable tsd-parent-kind-namespace"><a href="../variables/_waku_core.waku_light_push.LightPushCodec.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>Light<wbr/>Push<wbr/>Codec</a></li>
<li class="current tsd-kind-function tsd-parent-kind-namespace"><a href="_waku_core.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-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>waku<wbr/>Light<wbr/>Push</a></li></ul></nav></div></div>
<div class="container tsd-generator">

View File

@ -19,27 +19,27 @@
<h1>Function wakuRelay</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="wakuRelay">waku<wbr/>Relay<span class="tsd-signature-symbol">(</span>init<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_waku_core.waku_relay.RelayCreateOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">RelayCreateOptions</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">GossipSubComponents</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../interfaces/_waku_interfaces.IRelay.html" class="tsd-signature-type" data-tsd-kind="Interface">IRelay</a><span class="tsd-signature-symbol">)</span><a href="#wakuRelay" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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="wakuRelay">waku<wbr/>Relay<span class="tsd-signature-symbol">(</span>init<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/_waku_core.waku_relay.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_relay</a><span class="tsd-signature-symbol">.</span><a href="../types/_waku_core.waku_relay.RelayCreateOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">RelayCreateOptions</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">GossipSubComponents</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../interfaces/_waku_core._internal_.IRelay.html" class="tsd-signature-type" data-tsd-kind="Interface">IRelay</a><span class="tsd-signature-symbol">)</span><a href="#wakuRelay" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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>init: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_waku_core.waku_relay.RelayCreateOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">RelayCreateOptions</a><span class="tsd-signature-symbol">&gt;</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>components<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">GossipSubComponents</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../interfaces/_waku_interfaces.IRelay.html" class="tsd-signature-type" data-tsd-kind="Interface">IRelay</a><span class="tsd-signature-symbol">)</span></h4>
<h5>init: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/_waku_core.waku_relay.html" class="tsd-signature-type" data-tsd-kind="Namespace">waku_relay</a><span class="tsd-signature-symbol">.</span><a href="../types/_waku_core.waku_relay.RelayCreateOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">RelayCreateOptions</a><span class="tsd-signature-symbol">&gt;</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>components<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">GossipSubComponents</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../interfaces/_waku_core._internal_.IRelay.html" class="tsd-signature-type" data-tsd-kind="Interface">IRelay</a><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" id="wakuRelay.__type.__type-1"><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">GossipSubComponents</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.IRelay.html" class="tsd-signature-type" data-tsd-kind="Interface">IRelay</a></li>
<li class="tsd-signature" id="wakuRelay.__type.__type-1"><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">GossipSubComponents</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_core._internal_.IRelay.html" class="tsd-signature-type" data-tsd-kind="Interface">IRelay</a></li>
<li class="tsd-description">
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>components: <span class="tsd-signature-type">GossipSubComponents</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../interfaces/_waku_interfaces.IRelay.html" class="tsd-signature-type" data-tsd-kind="Interface">IRelay</a></h4></li></ul></li></ul><aside class="tsd-sources">
<h4 class="tsd-returns-title">Returns <a href="../interfaces/_waku_core._internal_.IRelay.html" class="tsd-signature-type" data-tsd-kind="Interface">IRelay</a></h4></li></ul></li></ul><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/relay/index.ts#L178">packages/core/src/lib/relay/index.ts:178</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/relay/index.ts#L178">packages/core/src/lib/relay/index.ts:178</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,8 +50,7 @@
<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>
<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></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">
@ -63,6 +62,9 @@
<ul>
<li class="current tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -79,15 +81,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.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/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -19,18 +19,18 @@
<h1>Function createCursor</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="createCursor">create<wbr/>Cursor<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.IDecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IDecodedMessage</a>, pubsubTopic<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">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_interfaces.Index.html" class="tsd-signature-type" data-tsd-kind="Interface">Index</a><span class="tsd-signature-symbol">&gt;</span><a href="#createCursor" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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="createCursor">create<wbr/>Cursor<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_core._internal_.IDecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IDecodedMessage</a>, pubsubTopic<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="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_core._internal_.Index.html" class="tsd-signature-type" data-tsd-kind="Interface">Index</a><span class="tsd-signature-symbol">&gt;</span><a href="#createCursor" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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>message: <a href="../interfaces/_waku_interfaces.IDecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IDecodedMessage</a></h5></li>
<h5>message: <a href="../interfaces/_waku_core._internal_.IDecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Interface">IDecodedMessage</a></h5></li>
<li>
<h5>pubsubTopic: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = DefaultPubSubTopic</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_interfaces.Index.html" class="tsd-signature-type" data-tsd-kind="Interface">Index</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_core._internal_.Index.html" class="tsd-signature-type" data-tsd-kind="Interface">Index</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/store/index.ts#L398">packages/core/src/lib/store/index.ts:398</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/store/index.ts#L388">packages/core/src/lib/store/index.ts:388</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">
@ -41,8 +41,7 @@
<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>
<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></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">
@ -54,6 +53,9 @@
<ul>
<li class="current tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -70,15 +72,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>
@ -129,7 +143,6 @@
<ul>
<li class="tsd-kind-enum tsd-parent-kind-namespace"><a href="../enums/_waku_core.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-interface tsd-parent-kind-namespace"><a href="../interfaces/_waku_core.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>Query<wbr/>Options</a></li>
<li class="tsd-kind-interface tsd-parent-kind-namespace"><a href="../interfaces/_waku_core.waku_store.StoreComponents.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>Store<wbr/>Components</a></li>
<li class="tsd-kind-interface tsd-parent-kind-namespace"><a href="../interfaces/_waku_core.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/_waku_core.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="tsd-kind-variable tsd-parent-kind-namespace"><a href="../variables/_waku_core.waku_store.StoreCodec.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>Store<wbr/>Codec</a></li>

View File

@ -33,7 +33,7 @@
<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/3b4bc8b2/packages/core/src/lib/store/index.ts#L394">packages/core/src/lib/store/index.ts:394</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/store/index.ts#L384">packages/core/src/lib/store/index.ts:384</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">
@ -44,8 +44,7 @@
<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>
<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></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">
@ -57,6 +56,9 @@
<ul>
<li class="current tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -73,15 +75,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>
@ -132,7 +146,6 @@
<ul>
<li class="tsd-kind-enum tsd-parent-kind-namespace"><a href="../enums/_waku_core.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-interface tsd-parent-kind-namespace"><a href="../interfaces/_waku_core.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>Query<wbr/>Options</a></li>
<li class="tsd-kind-interface tsd-parent-kind-namespace"><a href="../interfaces/_waku_core.waku_store.StoreComponents.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>Store<wbr/>Components</a></li>
<li class="tsd-kind-interface tsd-parent-kind-namespace"><a href="../interfaces/_waku_core.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/_waku_core.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="tsd-kind-variable tsd-parent-kind-namespace"><a href="../variables/_waku_core.waku_store.StoreCodec.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>Store<wbr/>Codec</a></li>

View File

@ -19,27 +19,27 @@
<h1>Function wakuStore</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="wakuStore">waku<wbr/>Store<span class="tsd-signature-symbol">(</span>init<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_waku_interfaces.ProtocolCreateOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">ProtocolCreateOptions</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_core.waku_store.StoreComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">StoreComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../interfaces/_waku_interfaces.IStore.html" class="tsd-signature-type" data-tsd-kind="Interface">IStore</a><span class="tsd-signature-symbol">)</span><a href="#wakuStore" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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="wakuStore">waku<wbr/>Store<span class="tsd-signature-symbol">(</span>init<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_waku_core._internal_.ProtocolCreateOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">ProtocolCreateOptions</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>libp2p<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Libp2p</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../interfaces/_waku_core._internal_.IStore.html" class="tsd-signature-type" data-tsd-kind="Interface">IStore</a><span class="tsd-signature-symbol">)</span><a href="#wakuStore" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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>init: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_waku_interfaces.ProtocolCreateOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">ProtocolCreateOptions</a><span class="tsd-signature-symbol">&gt;</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>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_core.waku_store.StoreComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">StoreComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../interfaces/_waku_interfaces.IStore.html" class="tsd-signature-type" data-tsd-kind="Interface">IStore</a><span class="tsd-signature-symbol">)</span></h4>
<h5>init: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_waku_core._internal_.ProtocolCreateOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">ProtocolCreateOptions</a><span class="tsd-signature-symbol">&gt;</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>libp2p<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Libp2p</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../interfaces/_waku_core._internal_.IStore.html" class="tsd-signature-type" data-tsd-kind="Interface">IStore</a><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" id="wakuStore.__type.__type-1"><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_core.waku_store.StoreComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">StoreComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.IStore.html" class="tsd-signature-type" data-tsd-kind="Interface">IStore</a></li>
<li class="tsd-signature" id="wakuStore.__type.__type-1"><span class="tsd-signature-symbol">(</span>libp2p<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Libp2p</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_core._internal_.IStore.html" class="tsd-signature-type" data-tsd-kind="Interface">IStore</a></li>
<li class="tsd-description">
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>components: <a href="../interfaces/_waku_core.waku_store.StoreComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">StoreComponents</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../interfaces/_waku_interfaces.IStore.html" class="tsd-signature-type" data-tsd-kind="Interface">IStore</a></h4></li></ul></li></ul><aside class="tsd-sources">
<h5>libp2p: <span class="tsd-signature-type">Libp2p</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../interfaces/_waku_core._internal_.IStore.html" class="tsd-signature-type" data-tsd-kind="Interface">IStore</a></h4></li></ul></li></ul><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/core/src/lib/store/index.ts#L425">packages/core/src/lib/store/index.ts:425</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/core/src/lib/store/index.ts#L415">packages/core/src/lib/store/index.ts:415</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,8 +50,7 @@
<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>
<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></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">
@ -63,6 +62,9 @@
<ul>
<li class="current tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -79,15 +81,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>
@ -138,7 +152,6 @@
<ul>
<li class="tsd-kind-enum tsd-parent-kind-namespace"><a href="../enums/_waku_core.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-interface tsd-parent-kind-namespace"><a href="../interfaces/_waku_core.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>Query<wbr/>Options</a></li>
<li class="tsd-kind-interface tsd-parent-kind-namespace"><a href="../interfaces/_waku_core.waku_store.StoreComponents.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>Store<wbr/>Components</a></li>
<li class="tsd-kind-interface tsd-parent-kind-namespace"><a href="../interfaces/_waku_core.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/_waku_core.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="tsd-kind-variable tsd-parent-kind-namespace"><a href="../variables/_waku_core.waku_store.StoreCodec.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>Store<wbr/>Codec</a></li>

View File

@ -18,7 +18,7 @@
<h1>Function createLightNode</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="createLightNode">create<wbr/>Light<wbr/>Node<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../types/_waku_interfaces.ProtocolCreateOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">ProtocolCreateOptions</a><span class="tsd-signature-symbol"> &amp; </span><a href="../modules/_waku_core.html#WakuOptions" class="tsd-signature-type" data-tsd-kind="Reference">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">&lt;</span><a href="../interfaces/_waku_interfaces.LightNode.html" class="tsd-signature-type" data-tsd-kind="Interface">LightNode</a><span class="tsd-signature-symbol">&gt;</span><a href="#createLightNode" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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="createLightNode">create<wbr/>Light<wbr/>Node<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../types/_waku_create._internal_.ProtocolCreateOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">ProtocolCreateOptions</a><span class="tsd-signature-symbol"> &amp; </span><a href="../interfaces/_waku_create._internal_.WakuOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_create._internal_.LightNode.html" class="tsd-signature-type" data-tsd-kind="Interface">LightNode</a><span class="tsd-signature-symbol">&gt;</span><a href="#createLightNode" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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 Light Push, Filter and Store to send and
receive messages, enabling low resource consumption.
@ -30,10 +30,10 @@ receive messages, enabling low resource consumption.
<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="../types/_waku_interfaces.ProtocolCreateOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">ProtocolCreateOptions</a><span class="tsd-signature-symbol"> &amp; </span><a href="../modules/_waku_core.html#WakuOptions" class="tsd-signature-type" data-tsd-kind="Reference">WakuOptions</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_interfaces.LightNode.html" class="tsd-signature-type" data-tsd-kind="Interface">LightNode</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <a href="../types/_waku_create._internal_.ProtocolCreateOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">ProtocolCreateOptions</a><span class="tsd-signature-symbol"> &amp; </span><a href="../interfaces/_waku_create._internal_.WakuOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuOptions</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_create._internal_.LightNode.html" class="tsd-signature-type" data-tsd-kind="Interface">LightNode</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/create/src/index.ts#L45">packages/create/src/index.ts:45</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/create/src/index.ts#L45">packages/create/src/index.ts:45</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">
@ -44,8 +44,7 @@ receive messages, enabling low resource consumption.
<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>
<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></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">
@ -57,6 +56,9 @@ receive messages, enabling low resource consumption.
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -73,15 +75,27 @@ receive messages, enabling low resource consumption.
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -18,7 +18,7 @@
<h1>Function createRelayNode</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="createRelayNode">create<wbr/>Relay<wbr/>Node<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../types/_waku_interfaces.ProtocolCreateOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">ProtocolCreateOptions</a><span class="tsd-signature-symbol"> &amp; </span><a href="../modules/_waku_core.html#WakuOptions" class="tsd-signature-type" data-tsd-kind="Reference">WakuOptions</a><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/_waku_core.html#RelayCreateOptions" class="tsd-signature-type" data-tsd-kind="Reference">RelayCreateOptions</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_interfaces.RelayNode.html" class="tsd-signature-type" data-tsd-kind="Interface">RelayNode</a><span class="tsd-signature-symbol">&gt;</span><a href="#createRelayNode" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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="createRelayNode">create<wbr/>Relay<wbr/>Node<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../types/_waku_create._internal_.ProtocolCreateOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">ProtocolCreateOptions</a><span class="tsd-signature-symbol"> &amp; </span><a href="../interfaces/_waku_create._internal_.WakuOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuOptions</a><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_waku_create._internal_.RelayCreateOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">RelayCreateOptions</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_create._internal_.RelayNode.html" class="tsd-signature-type" data-tsd-kind="Interface">RelayNode</a><span class="tsd-signature-symbol">&gt;</span><a href="#createRelayNode" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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>
@ -27,10 +27,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="../types/_waku_interfaces.ProtocolCreateOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">ProtocolCreateOptions</a><span class="tsd-signature-symbol"> &amp; </span><a href="../modules/_waku_core.html#WakuOptions" class="tsd-signature-type" data-tsd-kind="Reference">WakuOptions</a><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/_waku_core.html#RelayCreateOptions" class="tsd-signature-type" data-tsd-kind="Reference">RelayCreateOptions</a><span class="tsd-signature-symbol">&gt;</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_interfaces.RelayNode.html" class="tsd-signature-type" data-tsd-kind="Interface">RelayNode</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <a href="../types/_waku_create._internal_.ProtocolCreateOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">ProtocolCreateOptions</a><span class="tsd-signature-symbol"> &amp; </span><a href="../interfaces/_waku_create._internal_.WakuOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuOptions</a><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_waku_create._internal_.RelayCreateOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">RelayCreateOptions</a><span class="tsd-signature-symbol">&gt;</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_create._internal_.RelayNode.html" class="tsd-signature-type" data-tsd-kind="Interface">RelayNode</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/create/src/index.ts#L81">packages/create/src/index.ts:81</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/create/src/index.ts#L81">packages/create/src/index.ts:81</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">
@ -41,8 +41,7 @@ enabling some privacy preserving properties.</p>
<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>
<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></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">
@ -54,6 +53,9 @@ enabling some privacy preserving properties.</p>
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -70,15 +72,27 @@ enabling some privacy preserving properties.</p>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -18,31 +18,31 @@
<h1>Function defaultLibp2p</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="defaultLibp2p">default<wbr/>Libp2p<span class="tsd-signature-symbol">(</span>wakuRelay<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_create.Libp2pComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">Libp2pComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../interfaces/_waku_interfaces.IRelay.html" class="tsd-signature-type" data-tsd-kind="Interface">IRelay</a><span class="tsd-signature-symbol">)</span>, options<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">RecursivePartial</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Libp2pInit</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span>, userAgent<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">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Libp2p</span><span class="tsd-signature-symbol">&gt;</span><a href="#defaultLibp2p" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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="defaultLibp2p">default<wbr/>Libp2p<span class="tsd-signature-symbol">(</span>wakuRelay<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_create.Libp2pComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">Libp2pComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../interfaces/_waku_create._internal_.IRelay.html" class="tsd-signature-type" data-tsd-kind="Interface">IRelay</a><span class="tsd-signature-symbol">)</span>, options<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Libp2pOptions</span><span class="tsd-signature-symbol">&gt;</span>, userAgent<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="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Libp2p</span><span class="tsd-signature-symbol">&gt;</span><a href="#defaultLibp2p" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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><code class="tsd-tag ts-flagOptional">Optional</code> wakuRelay: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_create.Libp2pComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">Libp2pComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../interfaces/_waku_interfaces.IRelay.html" class="tsd-signature-type" data-tsd-kind="Interface">IRelay</a><span class="tsd-signature-symbol">)</span></h5>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> wakuRelay: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_create.Libp2pComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">Libp2pComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../interfaces/_waku_create._internal_.IRelay.html" class="tsd-signature-type" data-tsd-kind="Interface">IRelay</a><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>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_create.Libp2pComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">Libp2pComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.IRelay.html" class="tsd-signature-type" data-tsd-kind="Interface">IRelay</a></li>
<li class="tsd-signature"><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_create.Libp2pComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">Libp2pComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_create._internal_.IRelay.html" class="tsd-signature-type" data-tsd-kind="Interface">IRelay</a></li>
<li class="tsd-description">
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>components: <a href="../interfaces/_waku_create.Libp2pComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">Libp2pComponents</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../interfaces/_waku_interfaces.IRelay.html" class="tsd-signature-type" data-tsd-kind="Interface">IRelay</a></h4></li></ul></li></ul></li>
<h4 class="tsd-returns-title">Returns <a href="../interfaces/_waku_create._internal_.IRelay.html" class="tsd-signature-type" data-tsd-kind="Interface">IRelay</a></h4></li></ul></li></ul></li>
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">RecursivePartial</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Libp2pInit</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h5></li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Libp2pOptions</span><span class="tsd-signature-symbol">&gt;</span></h5></li>
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> userAgent: <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">&lt;</span><span class="tsd-signature-type">Libp2p</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Libp2p</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/create/src/index.ts#L151">packages/create/src/index.ts:151</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/create/src/index.ts#L151">packages/create/src/index.ts:151</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">
@ -53,8 +53,7 @@
<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>
<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></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">
@ -66,6 +65,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -82,15 +84,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -33,7 +33,7 @@
<h5>components: <a href="../interfaces/_waku_create.Libp2pComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">Libp2pComponents</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">PeerDiscovery</span></h4></li></ul></li></ul><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/create/src/index.ts#L145">packages/create/src/index.ts:145</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/create/src/index.ts#L145">packages/create/src/index.ts:145</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">
@ -44,8 +44,7 @@
<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>
<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></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">
@ -57,6 +56,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -73,15 +75,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -18,7 +18,7 @@
<h1>Function wakuDnsDiscovery</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="wakuDnsDiscovery">waku<wbr/>Dns<wbr/>Discovery<span class="tsd-signature-symbol">(</span>enrUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, wantedNodeCapabilityCount<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_dns_discovery.NodeCapabilityCount.html" class="tsd-signature-type" data-tsd-kind="Interface">NodeCapabilityCount</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../classes/_waku_dns_discovery.PeerDiscoveryDns.html" class="tsd-signature-type" data-tsd-kind="Class">PeerDiscoveryDns</a><span class="tsd-signature-symbol">)</span><a href="#wakuDnsDiscovery" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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="wakuDnsDiscovery">waku<wbr/>Dns<wbr/>Discovery<span class="tsd-signature-symbol">(</span>enrUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, wantedNodeCapabilityCount<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_dns_discovery.NodeCapabilityCount.html" class="tsd-signature-type" data-tsd-kind="Interface">NodeCapabilityCount</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_dns_discovery.DnsDiscoveryComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">DnsDiscoveryComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../classes/_waku_dns_discovery.PeerDiscoveryDns.html" class="tsd-signature-type" data-tsd-kind="Class">PeerDiscoveryDns</a><span class="tsd-signature-symbol">)</span><a href="#wakuDnsDiscovery" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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>
@ -27,20 +27,20 @@
<h5>enrUrl: <span class="tsd-signature-type">string</span></h5></li>
<li>
<h5>wantedNodeCapabilityCount: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_dns_discovery.NodeCapabilityCount.html" class="tsd-signature-type" data-tsd-kind="Interface">NodeCapabilityCount</a><span class="tsd-signature-symbol">&gt;</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../classes/_waku_dns_discovery.PeerDiscoveryDns.html" class="tsd-signature-type" data-tsd-kind="Class">PeerDiscoveryDns</a><span class="tsd-signature-symbol">)</span></h4>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_dns_discovery.DnsDiscoveryComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">DnsDiscoveryComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../classes/_waku_dns_discovery.PeerDiscoveryDns.html" class="tsd-signature-type" data-tsd-kind="Class">PeerDiscoveryDns</a><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" id="wakuDnsDiscovery.__type.__type-1"><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../classes/_waku_dns_discovery.PeerDiscoveryDns.html" class="tsd-signature-type" data-tsd-kind="Class">PeerDiscoveryDns</a></li>
<li class="tsd-signature" id="wakuDnsDiscovery.__type.__type-1"><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_dns_discovery.DnsDiscoveryComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">DnsDiscoveryComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../classes/_waku_dns_discovery.PeerDiscoveryDns.html" class="tsd-signature-type" data-tsd-kind="Class">PeerDiscoveryDns</a></li>
<li class="tsd-description">
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>components: <a href="../interfaces/_waku_interfaces.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a></h5></li></ul></div>
<h5>components: <a href="../interfaces/_waku_dns_discovery.DnsDiscoveryComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">DnsDiscoveryComponents</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../classes/_waku_dns_discovery.PeerDiscoveryDns.html" class="tsd-signature-type" data-tsd-kind="Class">PeerDiscoveryDns</a></h4></li></ul></li></ul><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/dns-discovery/src/index.ts#L125">packages/dns-discovery/src/index.ts:125</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/dns-discovery/src/index.ts#L130">packages/dns-discovery/src/index.ts:130</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,8 +51,7 @@
<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>
<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></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">
@ -64,6 +63,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -80,15 +82,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>
@ -140,6 +154,7 @@
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_waku_dns_discovery.DnsNodeDiscovery.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>Dns<wbr/>Node<wbr/>Discovery</a></li>
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_waku_dns_discovery.PeerDiscoveryDns.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/>Dns</a></li>
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/_waku_dns_discovery.DnsClient.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>Dns<wbr/>Client</a></li>
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/_waku_dns_discovery.DnsDiscoveryComponents.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>Dns<wbr/>Discovery<wbr/>Components</a></li>
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/_waku_dns_discovery.NodeCapabilityCount.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>Node<wbr/>Capability<wbr/>Count</a></li>
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/_waku_dns_discovery.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>
<li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="../types/_waku_dns_discovery.SearchContext.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)" 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>Search<wbr/>Context</a></li>

View File

@ -18,16 +18,16 @@
<h1>Function compressPublicKey</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="compressPublicKey">compress<wbr/>Public<wbr/>Key<span class="tsd-signature-symbol">(</span>publicKey<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">Uint8Array</span><a href="#compressPublicKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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="compressPublicKey">compress<wbr/>Public<wbr/>Key<span class="tsd-signature-symbol">(</span>publicKey<span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><a href="#compressPublicKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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>publicKey: <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">
<h5>publicKey: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/crypto.ts#L39">packages/enr/src/crypto.ts:39</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/crypto.ts#L39">packages/enr/src/crypto.ts:39</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">
@ -38,8 +38,7 @@
<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>
<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></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">
@ -51,6 +50,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -67,15 +69,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -18,7 +18,7 @@
<h1>Function createKeypair</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="createKeypair">create<wbr/>Keypair<span class="tsd-signature-symbol">(</span>type<span class="tsd-signature-symbol">: </span><a href="../enums/_waku_enr.KeypairType.html" class="tsd-signature-type" data-tsd-kind="Enumeration">KeypairType</a>, privateKey<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Uint8Array</span>, publicKey<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="../interfaces/_waku_enr.IKeypair.html" class="tsd-signature-type" data-tsd-kind="Interface">IKeypair</a><a href="#createKeypair" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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="createKeypair">create<wbr/>Keypair<span class="tsd-signature-symbol">(</span>type<span class="tsd-signature-symbol">: </span><a href="../enums/_waku_enr.KeypairType.html" class="tsd-signature-type" data-tsd-kind="Enumeration">KeypairType</a>, privateKey<span class="tsd-signature-symbol">?: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a>, publicKey<span class="tsd-signature-symbol">?: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_enr.IKeypair.html" class="tsd-signature-type" data-tsd-kind="Interface">IKeypair</a><a href="#createKeypair" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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>
@ -26,12 +26,12 @@
<li>
<h5>type: <a href="../enums/_waku_enr.KeypairType.html" class="tsd-signature-type" data-tsd-kind="Enumeration">KeypairType</a></h5></li>
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> privateKey: <span class="tsd-signature-type">Uint8Array</span></h5></li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> privateKey: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li>
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> publicKey: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> publicKey: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../interfaces/_waku_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/3b4bc8b2/packages/enr/src/keypair/index.ts#L13">packages/enr/src/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/79838d8c/packages/enr/src/keypair/index.ts#L13">packages/enr/src/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">
@ -42,8 +42,7 @@
<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>
<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></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">
@ -55,6 +54,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -71,15 +73,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -18,16 +18,16 @@
<h1>Function createKeypairFromPeerId</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="createKeypairFromPeerId">create<wbr/>Keypair<wbr/>From<wbr/>Peer<wbr/>Id<span class="tsd-signature-symbol">(</span>peerId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PeerId</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_enr.IKeypair.html" class="tsd-signature-type" data-tsd-kind="Interface">IKeypair</a><span class="tsd-signature-symbol">&gt;</span><a href="#createKeypairFromPeerId" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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="createKeypairFromPeerId">create<wbr/>Keypair<wbr/>From<wbr/>Peer<wbr/>Id<span class="tsd-signature-symbol">(</span>peerId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PeerId</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_enr.IKeypair.html" class="tsd-signature-type" data-tsd-kind="Interface">IKeypair</a><span class="tsd-signature-symbol">&gt;</span><a href="#createKeypairFromPeerId" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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>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">&lt;</span><a href="../interfaces/_waku_enr.IKeypair.html" class="tsd-signature-type" data-tsd-kind="Interface">IKeypair</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_enr.IKeypair.html" class="tsd-signature-type" data-tsd-kind="Interface">IKeypair</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/keypair/index.ts#L46">packages/enr/src/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/79838d8c/packages/enr/src/keypair/index.ts#L46">packages/enr/src/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">
@ -38,8 +38,7 @@
<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>
<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></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">
@ -51,6 +50,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -67,15 +69,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -18,16 +18,16 @@
<h1>Function createPeerIdFromKeypair</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="createPeerIdFromKeypair">create<wbr/>Peer<wbr/>Id<wbr/>From<wbr/>Keypair<span class="tsd-signature-symbol">(</span>keypair<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_enr.IKeypair.html" class="tsd-signature-type" data-tsd-kind="Interface">IKeypair</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">&lt;</span><span class="tsd-signature-type">PeerId</span><span class="tsd-signature-symbol">&gt;</span><a href="#createPeerIdFromKeypair" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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="createPeerIdFromKeypair">create<wbr/>Peer<wbr/>Id<wbr/>From<wbr/>Keypair<span class="tsd-signature-symbol">(</span>keypair<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_enr.IKeypair.html" class="tsd-signature-type" data-tsd-kind="Interface">IKeypair</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">PeerId</span><span class="tsd-signature-symbol">&gt;</span><a href="#createPeerIdFromKeypair" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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>keypair: <a href="../interfaces/_waku_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">&lt;</span><span class="tsd-signature-type">PeerId</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">PeerId</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/keypair/index.ts#L26">packages/enr/src/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/79838d8c/packages/enr/src/keypair/index.ts#L26">packages/enr/src/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">
@ -38,8 +38,7 @@
<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>
<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></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">
@ -51,6 +50,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -67,15 +69,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -18,16 +18,16 @@
<h1>Function decodeWaku2</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="decodeWaku2">decode<wbr/>Waku2<span class="tsd-signature-symbol">(</span>byte<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><a href="../interfaces/_waku_interfaces.Waku2.html" class="tsd-signature-type" data-tsd-kind="Interface">Waku2</a><a href="#decodeWaku2" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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="decodeWaku2">decode<wbr/>Waku2<span class="tsd-signature-symbol">(</span>byte<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><a href="../interfaces/_waku_enr._internal_.Waku2.html" class="tsd-signature-type" data-tsd-kind="Interface">Waku2</a><a href="#decodeWaku2" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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>byte: <span class="tsd-signature-type">number</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../interfaces/_waku_interfaces.Waku2.html" class="tsd-signature-type" data-tsd-kind="Interface">Waku2</a></h4><aside class="tsd-sources">
<h4 class="tsd-returns-title">Returns <a href="../interfaces/_waku_enr._internal_.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/3b4bc8b2/packages/enr/src/waku2_codec.ts#L17">packages/enr/src/waku2_codec.ts:17</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/waku2_codec.ts#L17">packages/enr/src/waku2_codec.ts:17</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">
@ -38,8 +38,7 @@
<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>
<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></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">
@ -51,6 +50,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -67,15 +69,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -18,16 +18,16 @@
<h1>Function encodeWaku2</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="encodeWaku2">encode<wbr/>Waku2<span class="tsd-signature-symbol">(</span>protocols<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.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">number</span><a href="#encodeWaku2" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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="encodeWaku2">encode<wbr/>Waku2<span class="tsd-signature-symbol">(</span>protocols<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_enr._internal_.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">number</span><a href="#encodeWaku2" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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>protocols: <a href="../interfaces/_waku_interfaces.Waku2.html" class="tsd-signature-type" data-tsd-kind="Interface">Waku2</a></h5></li></ul></div>
<h5>protocols: <a href="../interfaces/_waku_enr._internal_.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/3b4bc8b2/packages/enr/src/waku2_codec.ts#L3">packages/enr/src/waku2_codec.ts:3</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/waku2_codec.ts#L3">packages/enr/src/waku2_codec.ts:3</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">
@ -38,8 +38,7 @@
<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>
<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></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">
@ -51,6 +50,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -67,15 +69,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -18,7 +18,7 @@
<h1>Function getPublicKey</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="getPublicKey">get<wbr/>Public<wbr/>Key<span class="tsd-signature-symbol">(</span>privateKey<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PrivKey</span>, isCompressed<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><a href="#getPublicKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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="getPublicKey">get<wbr/>Public<wbr/>Key<span class="tsd-signature-symbol">(</span>privateKey<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PrivKey</span>, isCompressed<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><a href="#getPublicKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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>Return the public key for the given private key, to be used for asymmetric
encryption.</p>
@ -30,9 +30,9 @@ encryption.</p>
<h5>privateKey: <span class="tsd-signature-type">PrivKey</span></h5></li>
<li>
<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">
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in node_modules/@noble/secp256k1/lib/index.d.ts:71</li></ul></aside></li></ul></section></div>
<li>Defined in node_modules/@noble/secp256k1/lib/index.d.ts:92</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">
@ -43,8 +43,7 @@ encryption.</p>
<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>
<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></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">
@ -56,6 +55,9 @@ encryption.</p>
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -72,15 +74,27 @@ encryption.</p>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -18,16 +18,16 @@
<h1>Function keccak256</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="keccak256">keccak256<span class="tsd-signature-symbol">(</span>input<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">Uint8Array</span><a href="#keccak256" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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="keccak256">keccak256<span class="tsd-signature-symbol">(</span>input<span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><a href="#keccak256" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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>input: <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">
<h5>input: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/crypto.ts#L35">packages/enr/src/crypto.ts:35</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/crypto.ts#L35">packages/enr/src/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">
@ -38,8 +38,7 @@
<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>
<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></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">
@ -51,6 +50,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -67,15 +69,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -18,16 +18,16 @@
<h1>Function randomBytes</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="randomBytes">random<wbr/>Bytes<span class="tsd-signature-symbol">(</span>bytesLength<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">Uint8Array</span><a href="#randomBytes" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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="randomBytes">random<wbr/>Bytes<span class="tsd-signature-symbol">(</span>bytesLength<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><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><a href="#randomBytes" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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><code class="tsd-tag ts-flagOptional">Optional</code> bytesLength: <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">
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in node_modules/@noble/secp256k1/lib/index.d.ts:127</li></ul></aside></li></ul></section></div>
<li>Defined in node_modules/@noble/secp256k1/lib/index.d.ts:148</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">
@ -38,8 +38,7 @@
<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>
<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></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">
@ -51,6 +50,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -67,15 +69,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -18,7 +18,7 @@
<h1>Function sign</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="sign">sign<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</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><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span><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"><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="sign">sign<span class="tsd-signature-symbol">(</span>message<span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a>, privateKey<span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">&gt;</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"><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>ECDSA Sign a message with the given private key.</p>
@ -28,16 +28,16 @@
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>message: <span class="tsd-signature-type">Uint8Array</span></h5>
<h5>message: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5>
<div class="tsd-comment tsd-typography"><p>The message to sign, usually a hash.</p>
</div></li>
<li>
<h5>privateKey: <span class="tsd-signature-type">Uint8Array</span></h5>
<h5>privateKey: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5>
<div class="tsd-comment tsd-typography"><p>The ECDSA private key to use to sign the message.</p>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol">&lt;</span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/crypto.ts#L21">packages/enr/src/crypto.ts:21</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/crypto.ts#L21">packages/enr/src/crypto.ts:21</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,8 +48,7 @@
<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>
<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></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">
@ -61,6 +60,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -77,15 +79,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -18,7 +18,7 @@
<h1>Function verifySignature</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="verifySignature">verify<wbr/>Signature<span class="tsd-signature-symbol">(</span>signature<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span>, message<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>, publicKey<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">boolean</span><a href="#verifySignature" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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="verifySignature">verify<wbr/>Signature<span class="tsd-signature-symbol">(</span>signature<span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a>, message<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a>, publicKey<span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#verifySignature" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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>Verify an ECDSA signature.</p>
</div>
@ -26,14 +26,14 @@
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>signature: <span class="tsd-signature-type">Uint8Array</span></h5></li>
<h5>signature: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li>
<li>
<h5>message: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></h5></li>
<h5>message: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5></li>
<li>
<h5>publicKey: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
<h5>publicKey: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></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/3b4bc8b2/packages/enr/src/crypto.ts#L50">packages/enr/src/crypto.ts:50</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/enr/src/crypto.ts#L50">packages/enr/src/crypto.ts:50</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">
@ -44,8 +44,7 @@
<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>
<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></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">
@ -57,6 +56,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -73,15 +75,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -0,0 +1,143 @@
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>codec | @waku/root</title><meta name="description" content="Documentation for @waku/root"/><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 tsd-toolbar-icon 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>
<div class="field">
<div id="tsd-toolbar-links"></div></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">@waku/root</a></div>
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon 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">@waku/root</a></li>
<li><a href="../modules/_waku_message_encryption.html">@waku/message-encryption</a></li>
<li><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a></li>
<li><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">RateLimitProof</a></li>
<li><a href="_waku_message_encryption._internal_.RateLimitProof.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">&lt;</span><a href="../interfaces/_waku_message_encryption._internal_.RateLimitProof-1.html" class="tsd-signature-type" data-tsd-kind="Interface">RateLimitProof</a><span class="tsd-signature-symbol">&gt;</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">&lt;</span><a href="../interfaces/_waku_message_encryption._internal_.RateLimitProof-1.html" class="tsd-signature-type" data-tsd-kind="Interface">RateLimitProof</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in packages/proto/dist/lib/message.d.ts:13</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></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">@waku/root</a>
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.html">version_<wbr/>0</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.html">proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li></ul></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku.html">waku</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_filter.html">waku_<wbr/>filter</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="current tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_filter.html">proto_<wbr/>filter</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRPC.html">FilterRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRequest.html">Filter<wbr/>Request</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRequest.ContentFilter.html">Content<wbr/>Filter</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.MessagePush.html">Message<wbr/>Push</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_lightpush.html">proto_<wbr/>lightpush</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushRPC.html">PushRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushRequest.html">Push<wbr/>Request</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushResponse.html">Push<wbr/>Response</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_message.html">proto_<wbr/>message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_message.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_peer_exchange.html">proto_<wbr/>peer_<wbr/>exchange</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeQuery.html">Peer<wbr/>Exchange<wbr/>Query</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeRPC.html">Peer<wbr/>ExchangeRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeResponse.html">Peer<wbr/>Exchange<wbr/>Response</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerInfo.html">Peer<wbr/>Info</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_store.html">proto_<wbr/>store</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.ContentFilter.html">Content<wbr/>Filter</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryQuery.html">History<wbr/>Query</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryRPC.html">HistoryRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryResponse.html">History<wbr/>Response</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryResponse.HistoryError.html">History<wbr/>Error</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.Index.html">Index</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.PagingInfo.html">Paging<wbr/>Info</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.PagingInfo.Direction.html">Direction</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.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/_waku_proto.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_utils.html">@waku/utils</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="_waku_message_encryption._internal_.RateLimitProof.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="_waku_message_encryption._internal_.RateLimitProof.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="_waku_message_encryption._internal_.RateLimitProof.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>

View File

@ -0,0 +1,148 @@
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>decode | @waku/root</title><meta name="description" content="Documentation for @waku/root"/><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 tsd-toolbar-icon 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>
<div class="field">
<div id="tsd-toolbar-links"></div></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">@waku/root</a></div>
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon 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">@waku/root</a></li>
<li><a href="../modules/_waku_message_encryption.html">@waku/message-encryption</a></li>
<li><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a></li>
<li><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">RateLimitProof</a></li>
<li><a href="_waku_message_encryption._internal_.RateLimitProof.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><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><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/_waku_message_encryption._internal_.RateLimitProof-1.html" class="tsd-signature-type" data-tsd-kind="Interface">RateLimitProof</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: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><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/_waku_message_encryption._internal_.RateLimitProof-1.html" class="tsd-signature-type" data-tsd-kind="Interface">RateLimitProof</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in packages/proto/dist/lib/message.d.ts:15</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></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">@waku/root</a>
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.html">version_<wbr/>0</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.html">proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li></ul></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku.html">waku</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_filter.html">waku_<wbr/>filter</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="current tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_filter.html">proto_<wbr/>filter</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRPC.html">FilterRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRequest.html">Filter<wbr/>Request</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRequest.ContentFilter.html">Content<wbr/>Filter</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.MessagePush.html">Message<wbr/>Push</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_lightpush.html">proto_<wbr/>lightpush</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushRPC.html">PushRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushRequest.html">Push<wbr/>Request</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushResponse.html">Push<wbr/>Response</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_message.html">proto_<wbr/>message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_message.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_peer_exchange.html">proto_<wbr/>peer_<wbr/>exchange</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeQuery.html">Peer<wbr/>Exchange<wbr/>Query</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeRPC.html">Peer<wbr/>ExchangeRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeResponse.html">Peer<wbr/>Exchange<wbr/>Response</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerInfo.html">Peer<wbr/>Info</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_store.html">proto_<wbr/>store</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.ContentFilter.html">Content<wbr/>Filter</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryQuery.html">History<wbr/>Query</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryRPC.html">HistoryRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryResponse.html">History<wbr/>Response</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryResponse.HistoryError.html">History<wbr/>Error</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.Index.html">Index</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.PagingInfo.html">Paging<wbr/>Info</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.PagingInfo.Direction.html">Direction</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.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/_waku_proto.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_utils.html">@waku/utils</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="_waku_message_encryption._internal_.RateLimitProof.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="_waku_message_encryption._internal_.RateLimitProof.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="_waku_message_encryption._internal_.RateLimitProof.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>

View File

@ -0,0 +1,148 @@
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>encode | @waku/root</title><meta name="description" content="Documentation for @waku/root"/><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 tsd-toolbar-icon 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>
<div class="field">
<div id="tsd-toolbar-links"></div></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">@waku/root</a></div>
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon 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">@waku/root</a></li>
<li><a href="../modules/_waku_message_encryption.html">@waku/message-encryption</a></li>
<li><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a></li>
<li><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">RateLimitProof</a></li>
<li><a href="_waku_message_encryption._internal_.RateLimitProof.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="../interfaces/_waku_message_encryption._internal_.RateLimitProof-1.html" class="tsd-signature-type" data-tsd-kind="Interface">RateLimitProof</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><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="../interfaces/_waku_message_encryption._internal_.RateLimitProof-1.html" class="tsd-signature-type" data-tsd-kind="Interface">RateLimitProof</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in packages/proto/dist/lib/message.d.ts:14</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></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">@waku/root</a>
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.html">version_<wbr/>0</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.html">proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li></ul></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku.html">waku</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_filter.html">waku_<wbr/>filter</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="current tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_filter.html">proto_<wbr/>filter</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRPC.html">FilterRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRequest.html">Filter<wbr/>Request</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRequest.ContentFilter.html">Content<wbr/>Filter</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.MessagePush.html">Message<wbr/>Push</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_lightpush.html">proto_<wbr/>lightpush</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushRPC.html">PushRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushRequest.html">Push<wbr/>Request</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushResponse.html">Push<wbr/>Response</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_message.html">proto_<wbr/>message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_message.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_peer_exchange.html">proto_<wbr/>peer_<wbr/>exchange</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeQuery.html">Peer<wbr/>Exchange<wbr/>Query</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeRPC.html">Peer<wbr/>ExchangeRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeResponse.html">Peer<wbr/>Exchange<wbr/>Response</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerInfo.html">Peer<wbr/>Info</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_store.html">proto_<wbr/>store</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.ContentFilter.html">Content<wbr/>Filter</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryQuery.html">History<wbr/>Query</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryRPC.html">HistoryRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryResponse.html">History<wbr/>Response</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryResponse.HistoryError.html">History<wbr/>Error</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.Index.html">Index</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.PagingInfo.html">Paging<wbr/>Info</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.PagingInfo.Direction.html">Direction</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.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/_waku_proto.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_utils.html">@waku/utils</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="_waku_message_encryption._internal_.RateLimitProof.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="_waku_message_encryption._internal_.RateLimitProof.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="_waku_message_encryption._internal_.RateLimitProof.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>

View File

@ -0,0 +1,143 @@
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>codec | @waku/root</title><meta name="description" content="Documentation for @waku/root"/><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 tsd-toolbar-icon 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>
<div class="field">
<div id="tsd-toolbar-links"></div></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">@waku/root</a></div>
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon 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">@waku/root</a></li>
<li><a href="../modules/_waku_message_encryption.html">@waku/message-encryption</a></li>
<li><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a></li>
<li><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">WakuMessage</a></li>
<li><a href="_waku_message_encryption._internal_.WakuMessage.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">&lt;</span><a href="../interfaces/_waku_message_encryption._internal_.WakuMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuMessage</a><span class="tsd-signature-symbol">&gt;</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">&lt;</span><a href="../interfaces/_waku_message_encryption._internal_.WakuMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in packages/proto/dist/lib/message.d.ts:27</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></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">@waku/root</a>
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.html">version_<wbr/>0</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.html">proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li></ul></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku.html">waku</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_filter.html">waku_<wbr/>filter</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="current tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_filter.html">proto_<wbr/>filter</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRPC.html">FilterRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRequest.html">Filter<wbr/>Request</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRequest.ContentFilter.html">Content<wbr/>Filter</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.MessagePush.html">Message<wbr/>Push</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_lightpush.html">proto_<wbr/>lightpush</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushRPC.html">PushRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushRequest.html">Push<wbr/>Request</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushResponse.html">Push<wbr/>Response</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_message.html">proto_<wbr/>message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_message.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_peer_exchange.html">proto_<wbr/>peer_<wbr/>exchange</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeQuery.html">Peer<wbr/>Exchange<wbr/>Query</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeRPC.html">Peer<wbr/>ExchangeRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeResponse.html">Peer<wbr/>Exchange<wbr/>Response</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerInfo.html">Peer<wbr/>Info</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_store.html">proto_<wbr/>store</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.ContentFilter.html">Content<wbr/>Filter</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryQuery.html">History<wbr/>Query</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryRPC.html">HistoryRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryResponse.html">History<wbr/>Response</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryResponse.HistoryError.html">History<wbr/>Error</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.Index.html">Index</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.PagingInfo.html">Paging<wbr/>Info</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.PagingInfo.Direction.html">Direction</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.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/_waku_proto.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_utils.html">@waku/utils</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="_waku_message_encryption._internal_.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>
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="_waku_message_encryption._internal_.WakuMessage.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="_waku_message_encryption._internal_.WakuMessage.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>

View File

@ -0,0 +1,148 @@
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>decode | @waku/root</title><meta name="description" content="Documentation for @waku/root"/><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 tsd-toolbar-icon 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>
<div class="field">
<div id="tsd-toolbar-links"></div></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">@waku/root</a></div>
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon 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">@waku/root</a></li>
<li><a href="../modules/_waku_message_encryption.html">@waku/message-encryption</a></li>
<li><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a></li>
<li><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">WakuMessage</a></li>
<li><a href="_waku_message_encryption._internal_.WakuMessage.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><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><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/_waku_message_encryption._internal_.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: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><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/_waku_message_encryption._internal_.WakuMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuMessage</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in packages/proto/dist/lib/message.d.ts:29</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></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">@waku/root</a>
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.html">version_<wbr/>0</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.html">proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li></ul></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku.html">waku</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_filter.html">waku_<wbr/>filter</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="current tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_filter.html">proto_<wbr/>filter</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRPC.html">FilterRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRequest.html">Filter<wbr/>Request</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRequest.ContentFilter.html">Content<wbr/>Filter</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.MessagePush.html">Message<wbr/>Push</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_lightpush.html">proto_<wbr/>lightpush</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushRPC.html">PushRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushRequest.html">Push<wbr/>Request</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushResponse.html">Push<wbr/>Response</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_message.html">proto_<wbr/>message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_message.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_peer_exchange.html">proto_<wbr/>peer_<wbr/>exchange</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeQuery.html">Peer<wbr/>Exchange<wbr/>Query</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeRPC.html">Peer<wbr/>ExchangeRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeResponse.html">Peer<wbr/>Exchange<wbr/>Response</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerInfo.html">Peer<wbr/>Info</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_store.html">proto_<wbr/>store</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.ContentFilter.html">Content<wbr/>Filter</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryQuery.html">History<wbr/>Query</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryRPC.html">HistoryRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryResponse.html">History<wbr/>Response</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryResponse.HistoryError.html">History<wbr/>Error</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.Index.html">Index</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.PagingInfo.html">Paging<wbr/>Info</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.PagingInfo.Direction.html">Direction</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.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/_waku_proto.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_utils.html">@waku/utils</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="_waku_message_encryption._internal_.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>
<li class="current tsd-kind-function tsd-parent-kind-namespace"><a href="_waku_message_encryption._internal_.WakuMessage.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="_waku_message_encryption._internal_.WakuMessage.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>

View File

@ -0,0 +1,148 @@
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>encode | @waku/root</title><meta name="description" content="Documentation for @waku/root"/><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 tsd-toolbar-icon 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>
<div class="field">
<div id="tsd-toolbar-links"></div></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">@waku/root</a></div>
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon 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">@waku/root</a></li>
<li><a href="../modules/_waku_message_encryption.html">@waku/message-encryption</a></li>
<li><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a></li>
<li><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">WakuMessage</a></li>
<li><a href="_waku_message_encryption._internal_.WakuMessage.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="../interfaces/_waku_message_encryption._internal_.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="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><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="../interfaces/_waku_message_encryption._internal_.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="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in packages/proto/dist/lib/message.d.ts:28</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></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">@waku/root</a>
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.html">version_<wbr/>0</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.html">proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.version_0.proto.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li></ul></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku.html">waku</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_filter.html">waku_<wbr/>filter</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_light_push.html">waku_<wbr/>light_<wbr/>push</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="current tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_filter.html">proto_<wbr/>filter</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRPC.html">FilterRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRequest.html">Filter<wbr/>Request</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRequest.ContentFilter.html">Content<wbr/>Filter</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.MessagePush.html">Message<wbr/>Push</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_lightpush.html">proto_<wbr/>lightpush</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushRPC.html">PushRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushRequest.html">Push<wbr/>Request</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushResponse.html">Push<wbr/>Response</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_message.html">proto_<wbr/>message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_message.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_peer_exchange.html">proto_<wbr/>peer_<wbr/>exchange</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeQuery.html">Peer<wbr/>Exchange<wbr/>Query</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeRPC.html">Peer<wbr/>ExchangeRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeResponse.html">Peer<wbr/>Exchange<wbr/>Response</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerInfo.html">Peer<wbr/>Info</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_store.html">proto_<wbr/>store</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.ContentFilter.html">Content<wbr/>Filter</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryQuery.html">History<wbr/>Query</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryRPC.html">HistoryRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryResponse.html">History<wbr/>Response</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryResponse.HistoryError.html">History<wbr/>Error</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.Index.html">Index</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.PagingInfo.html">Paging<wbr/>Info</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.PagingInfo.Direction.html">Direction</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.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/_waku_proto.proto_topic_only_message.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_utils.html">@waku/utils</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="_waku_message_encryption._internal_.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>
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="_waku_message_encryption._internal_.WakuMessage.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="_waku_message_encryption._internal_.WakuMessage.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>

View File

@ -19,7 +19,7 @@
<h1>Function createDecoder</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="createDecoder">create<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="../modules/_waku_message_encryption.ecies.html" class="tsd-signature-type" data-tsd-kind="Namespace">ecies</a><span class="tsd-signature-symbol">.</span><a href="../classes/_waku_message_encryption.ecies.Decoder.html" class="tsd-signature-type" data-tsd-kind="Class">Decoder</a><a href="#createDecoder" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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="createDecoder">create<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><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/_waku_message_encryption.ecies.html" class="tsd-signature-type" data-tsd-kind="Namespace">ecies</a><span class="tsd-signature-symbol">.</span><a href="../classes/_waku_message_encryption.ecies.Decoder.html" class="tsd-signature-type" data-tsd-kind="Class">Decoder</a><a href="#createDecoder" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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>Creates a decoder that decrypts messages using ECIES, using the given private
key as defined in <a href="https://rfc.vac.dev/spec/26/">26/WAKU2-PAYLOAD</a>.</p>
@ -37,12 +37,12 @@ decode incoming messages.</p>
<div class="tsd-comment tsd-typography"><p>The resulting decoder will only decode messages with this content topic.</p>
</div></li>
<li>
<h5>privateKey: <span class="tsd-signature-type">Uint8Array</span></h5>
<h5>privateKey: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5>
<div class="tsd-comment tsd-typography"><p>The private key used to decrypt the message.</p>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../modules/_waku_message_encryption.ecies.html" class="tsd-signature-type" data-tsd-kind="Namespace">ecies</a><span class="tsd-signature-symbol">.</span><a href="../classes/_waku_message_encryption.ecies.Decoder.html" class="tsd-signature-type" data-tsd-kind="Class">Decoder</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/message-encryption/src/ecies.ts#L166">packages/message-encryption/src/ecies.ts:166</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/message-encryption/src/ecies.ts#L166">packages/message-encryption/src/ecies.ts:166</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">
@ -53,8 +53,7 @@ decode incoming messages.</p>
<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>
<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></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">
@ -66,6 +65,9 @@ decode incoming messages.</p>
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -82,15 +84,27 @@ decode incoming messages.</p>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -38,7 +38,7 @@ in <a href="https://rfc.vac.dev/spec/26/">26/WAKU2-PAYLOAD</a>.</p>
<h5>__namedParameters: <a href="../modules/_waku_message_encryption.ecies.html" class="tsd-signature-type" data-tsd-kind="Namespace">ecies</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/_waku_message_encryption.ecies.EncoderOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">EncoderOptions</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../modules/_waku_message_encryption.ecies.html" class="tsd-signature-type" data-tsd-kind="Namespace">ecies</a><span class="tsd-signature-symbol">.</span><a href="../classes/_waku_message_encryption.ecies.Encoder.html" class="tsd-signature-type" data-tsd-kind="Class">Encoder</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/message-encryption/src/ecies.ts#L86">packages/message-encryption/src/ecies.ts:86</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/message-encryption/src/ecies.ts#L86">packages/message-encryption/src/ecies.ts:86</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">
@ -49,8 +49,7 @@ in <a href="https://rfc.vac.dev/spec/26/">26/WAKU2-PAYLOAD</a>.</p>
<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>
<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></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">
@ -62,6 +61,9 @@ in <a href="https://rfc.vac.dev/spec/26/">26/WAKU2-PAYLOAD</a>.</p>
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -78,15 +80,27 @@ in <a href="https://rfc.vac.dev/spec/26/">26/WAKU2-PAYLOAD</a>.</p>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -18,14 +18,14 @@
<h1>Function generatePrivateKey</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="generatePrivateKey">generate<wbr/>Private<wbr/>Key<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="#generatePrivateKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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="generatePrivateKey">generate<wbr/>Private<wbr/>Key<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><a href="#generatePrivateKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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>Generate a new private key to be used for asymmetric encryption.</p>
<p>Use <a href="_waku_message_encryption.getPublicKey.html">getPublicKey</a> to get the corresponding Public Key.</p>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources">
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/message-encryption/src/crypto/index.ts#L35">packages/message-encryption/src/crypto/index.ts:35</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/message-encryption/src/crypto/index.ts#L35">packages/message-encryption/src/crypto/index.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">
@ -36,8 +36,7 @@
<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>
<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></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">
@ -49,6 +48,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -65,15 +67,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -18,13 +18,13 @@
<h1>Function generateSymmetricKey</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="generateSymmetricKey">generate<wbr/>Symmetric<wbr/>Key<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="#generateSymmetricKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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="generateSymmetricKey">generate<wbr/>Symmetric<wbr/>Key<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><a href="#generateSymmetricKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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>Generate a new symmetric key to be used for symmetric encryption.</p>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources">
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/message-encryption/src/crypto/index.ts#L42">packages/message-encryption/src/crypto/index.ts:42</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/message-encryption/src/crypto/index.ts#L42">packages/message-encryption/src/crypto/index.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">
@ -35,8 +35,7 @@
<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>
<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></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">
@ -48,6 +47,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -64,15 +66,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -18,7 +18,7 @@
<h1>Function getPublicKey</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="getPublicKey">get<wbr/>Public<wbr/>Key<span class="tsd-signature-symbol">(</span>privateKey<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PrivKey</span>, isCompressed<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><a href="#getPublicKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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="getPublicKey">get<wbr/>Public<wbr/>Key<span class="tsd-signature-symbol">(</span>privateKey<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PrivKey</span>, isCompressed<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><a href="#getPublicKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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>Return the public key for the given private key, to be used for asymmetric
encryption.</p>
@ -30,9 +30,9 @@ encryption.</p>
<h5>privateKey: <span class="tsd-signature-type">PrivKey</span></h5></li>
<li>
<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">
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in node_modules/@noble/secp256k1/lib/index.d.ts:71</li></ul></aside></li></ul></section></div>
<li>Defined in node_modules/@noble/secp256k1/lib/index.d.ts:92</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">
@ -43,8 +43,7 @@ encryption.</p>
<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>
<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></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">
@ -56,6 +55,9 @@ encryption.</p>
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -72,15 +74,27 @@ encryption.</p>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -19,7 +19,7 @@
<h1>Function createDecoder</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="createDecoder">create<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="../modules/_waku_message_encryption.symmetric.html" class="tsd-signature-type" data-tsd-kind="Namespace">symmetric</a><span class="tsd-signature-symbol">.</span><a href="../classes/_waku_message_encryption.symmetric.Decoder.html" class="tsd-signature-type" data-tsd-kind="Class">Decoder</a><a href="#createDecoder" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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="createDecoder">create<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><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules/_waku_message_encryption.symmetric.html" class="tsd-signature-type" data-tsd-kind="Namespace">symmetric</a><span class="tsd-signature-symbol">.</span><a href="../classes/_waku_message_encryption.symmetric.Decoder.html" class="tsd-signature-type" data-tsd-kind="Class">Decoder</a><a href="#createDecoder" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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>Creates a decoder that decrypts messages using symmetric encryption, using
the given key as defined in <a href="https://rfc.vac.dev/spec/26/">26/WAKU2-PAYLOAD</a>.</p>
@ -37,12 +37,12 @@ decode incoming messages.</p>
<div class="tsd-comment tsd-typography"><p>The resulting decoder will only decode messages with this content topic.</p>
</div></li>
<li>
<h5>symKey: <span class="tsd-signature-type">Uint8Array</span></h5>
<h5>symKey: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h5>
<div class="tsd-comment tsd-typography"><p>The symmetric key used to decrypt the message.</p>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../modules/_waku_message_encryption.symmetric.html" class="tsd-signature-type" data-tsd-kind="Namespace">symmetric</a><span class="tsd-signature-symbol">.</span><a href="../classes/_waku_message_encryption.symmetric.Decoder.html" class="tsd-signature-type" data-tsd-kind="Class">Decoder</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/message-encryption/src/symmetric.ts#L165">packages/message-encryption/src/symmetric.ts:165</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/message-encryption/src/symmetric.ts#L165">packages/message-encryption/src/symmetric.ts:165</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">
@ -53,8 +53,7 @@ decode incoming messages.</p>
<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>
<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></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">
@ -66,6 +65,9 @@ decode incoming messages.</p>
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -82,15 +84,27 @@ decode incoming messages.</p>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -38,7 +38,7 @@ in <a href="https://rfc.vac.dev/spec/26/">26/WAKU2-PAYLOAD</a>.</p>
<h5>__namedParameters: <a href="../modules/_waku_message_encryption.symmetric.html" class="tsd-signature-type" data-tsd-kind="Namespace">symmetric</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/_waku_message_encryption.symmetric.EncoderOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">EncoderOptions</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../modules/_waku_message_encryption.symmetric.html" class="tsd-signature-type" data-tsd-kind="Namespace">symmetric</a><span class="tsd-signature-symbol">.</span><a href="../classes/_waku_message_encryption.symmetric.Encoder.html" class="tsd-signature-type" data-tsd-kind="Class">Encoder</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/message-encryption/src/symmetric.ts#L85">packages/message-encryption/src/symmetric.ts:85</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/message-encryption/src/symmetric.ts#L85">packages/message-encryption/src/symmetric.ts:85</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">
@ -49,8 +49,7 @@ in <a href="https://rfc.vac.dev/spec/26/">26/WAKU2-PAYLOAD</a>.</p>
<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>
<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></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">
@ -62,6 +61,9 @@ in <a href="https://rfc.vac.dev/spec/26/">26/WAKU2-PAYLOAD</a>.</p>
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -78,15 +80,27 @@ in <a href="https://rfc.vac.dev/spec/26/">26/WAKU2-PAYLOAD</a>.</p>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -18,25 +18,25 @@
<h1>Function wakuPeerExchange</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="wakuPeerExchange">waku<wbr/>Peer<wbr/>Exchange<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>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../classes/_waku_peer_exchange.WakuPeerExchange.html" class="tsd-signature-type" data-tsd-kind="Class">WakuPeerExchange</a><span class="tsd-signature-symbol">)</span><a href="#wakuPeerExchange" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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="wakuPeerExchange">waku<wbr/>Peer<wbr/>Exchange<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>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_peer_exchange._internal_.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../classes/_waku_peer_exchange.WakuPeerExchange.html" class="tsd-signature-type" data-tsd-kind="Class">WakuPeerExchange</a><span class="tsd-signature-symbol">)</span><a href="#wakuPeerExchange" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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>Returns</h3><p>A function that creates a new peer exchange protocol</p>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../classes/_waku_peer_exchange.WakuPeerExchange.html" class="tsd-signature-type" data-tsd-kind="Class">WakuPeerExchange</a><span class="tsd-signature-symbol">)</span></h4>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_peer_exchange._internal_.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../classes/_waku_peer_exchange.WakuPeerExchange.html" class="tsd-signature-type" data-tsd-kind="Class">WakuPeerExchange</a><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" id="wakuPeerExchange.__type.__type-1"><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../classes/_waku_peer_exchange.WakuPeerExchange.html" class="tsd-signature-type" data-tsd-kind="Class">WakuPeerExchange</a></li>
<li class="tsd-signature" id="wakuPeerExchange.__type.__type-1"><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_peer_exchange._internal_.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../classes/_waku_peer_exchange.WakuPeerExchange.html" class="tsd-signature-type" data-tsd-kind="Class">WakuPeerExchange</a></li>
<li class="tsd-description">
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>components: <a href="../interfaces/_waku_interfaces.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a></h5></li></ul></div>
<h5>components: <a href="../interfaces/_waku_peer_exchange._internal_.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../classes/_waku_peer_exchange.WakuPeerExchange.html" class="tsd-signature-type" data-tsd-kind="Class">WakuPeerExchange</a></h4></li></ul></li></ul><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/peer-exchange/src/waku_peer_exchange.ts#L159">packages/peer-exchange/src/waku_peer_exchange.ts:159</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/peer-exchange/src/waku_peer_exchange.ts#L168">packages/peer-exchange/src/waku_peer_exchange.ts:168</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">
@ -47,8 +47,7 @@
<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>
<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></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">
@ -60,6 +59,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -76,15 +78,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -18,22 +18,22 @@
<h1>Function wakuPeerExchangeDiscovery</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="wakuPeerExchangeDiscovery">waku<wbr/>Peer<wbr/>Exchange<wbr/>Discovery<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>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../classes/_waku_peer_exchange.PeerExchangeDiscovery.html" class="tsd-signature-type" data-tsd-kind="Class">PeerExchangeDiscovery</a><span class="tsd-signature-symbol">)</span><a href="#wakuPeerExchangeDiscovery" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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="wakuPeerExchangeDiscovery">waku<wbr/>Peer<wbr/>Exchange<wbr/>Discovery<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>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_peer_exchange._internal_.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../classes/_waku_peer_exchange.PeerExchangeDiscovery.html" class="tsd-signature-type" data-tsd-kind="Class">PeerExchangeDiscovery</a><span class="tsd-signature-symbol">)</span><a href="#wakuPeerExchangeDiscovery" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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-symbol">(</span><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../classes/_waku_peer_exchange.PeerExchangeDiscovery.html" class="tsd-signature-type" data-tsd-kind="Class">PeerExchangeDiscovery</a><span class="tsd-signature-symbol">)</span></h4>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_peer_exchange._internal_.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../classes/_waku_peer_exchange.PeerExchangeDiscovery.html" class="tsd-signature-type" data-tsd-kind="Class">PeerExchangeDiscovery</a><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" id="wakuPeerExchangeDiscovery.__type.__type-1"><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_interfaces.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../classes/_waku_peer_exchange.PeerExchangeDiscovery.html" class="tsd-signature-type" data-tsd-kind="Class">PeerExchangeDiscovery</a></li>
<li class="tsd-signature" id="wakuPeerExchangeDiscovery.__type.__type-1"><span class="tsd-signature-symbol">(</span>components<span class="tsd-signature-symbol">: </span><a href="../interfaces/_waku_peer_exchange._internal_.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../classes/_waku_peer_exchange.PeerExchangeDiscovery.html" class="tsd-signature-type" data-tsd-kind="Class">PeerExchangeDiscovery</a></li>
<li class="tsd-description">
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>components: <a href="../interfaces/_waku_interfaces.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a></h5></li></ul></div>
<h5>components: <a href="../interfaces/_waku_peer_exchange._internal_.PeerExchangeComponents.html" class="tsd-signature-type" data-tsd-kind="Interface">PeerExchangeComponents</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="../classes/_waku_peer_exchange.PeerExchangeDiscovery.html" class="tsd-signature-type" data-tsd-kind="Class">PeerExchangeDiscovery</a></h4></li></ul></li></ul><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L209">packages/peer-exchange/src/waku_peer_exchange_discovery.ts:209</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L212">packages/peer-exchange/src/waku_peer_exchange_discovery.ts:212</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">
@ -44,8 +44,7 @@
<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>
<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></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">
@ -57,6 +56,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -73,15 +75,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -23,7 +23,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Codec</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_proto.WakuMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuMessage</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/proto/src/lib/filter.ts#L510">packages/proto/src/lib/filter.ts:510</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/proto/src/lib/filter.ts#L510">packages/proto/src/lib/filter.ts:510</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">
@ -34,8 +34,7 @@
<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>
<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></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">
@ -47,6 +46,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -63,15 +65,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -19,16 +19,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="../interfaces/_waku_proto.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><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><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/_waku_proto.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>
<h5>buf: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><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/_waku_proto.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/3b4bc8b2/packages/proto/src/lib/filter.ts#L608">packages/proto/src/lib/filter.ts:608</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/proto/src/lib/filter.ts#L608">packages/proto/src/lib/filter.ts:608</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">
@ -39,8 +39,7 @@
<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>
<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></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">
@ -52,6 +51,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -68,15 +70,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -19,16 +19,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="../interfaces/_waku_proto.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/_waku_proto.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="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><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="../interfaces/_waku_proto.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">
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/proto/src/lib/filter.ts#L604">packages/proto/src/lib/filter.ts:604</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/proto/src/lib/filter.ts#L604">packages/proto/src/lib/filter.ts:604</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">
@ -39,8 +39,7 @@
<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>
<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></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">
@ -52,6 +51,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -68,15 +70,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="current tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -24,7 +24,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Codec</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_proto.proto_filter.FilterRPC-1.html" class="tsd-signature-type" data-tsd-kind="Interface">FilterRPC</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/proto/src/lib/filter.ts#L235">packages/proto/src/lib/filter.ts:235</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/proto/src/lib/filter.ts#L235">packages/proto/src/lib/filter.ts:235</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">
@ -35,8 +35,7 @@
<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>
<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></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">
@ -48,6 +47,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -64,15 +66,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -20,16 +20,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="../interfaces/_waku_proto.proto_filter.FilterRPC-1.html" class="tsd-signature-type" data-tsd-kind="Interface">FilterRPC</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><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><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/_waku_proto.proto_filter.FilterRPC-1.html" class="tsd-signature-type" data-tsd-kind="Interface">FilterRPC</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>
<h5>buf: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><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/_waku_proto.proto_filter.FilterRPC-1.html" class="tsd-signature-type" data-tsd-kind="Interface">FilterRPC</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/proto/src/lib/filter.ts#L301">packages/proto/src/lib/filter.ts:301</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/proto/src/lib/filter.ts#L301">packages/proto/src/lib/filter.ts:301</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">
@ -40,8 +40,7 @@
<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>
<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></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">
@ -53,6 +52,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -69,15 +71,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -20,16 +20,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="../interfaces/_waku_proto.proto_filter.FilterRPC-1.html" class="tsd-signature-type" data-tsd-kind="Interface">FilterRPC</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/_waku_proto.proto_filter.FilterRPC-1.html" class="tsd-signature-type" data-tsd-kind="Interface">FilterRPC</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><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="../interfaces/_waku_proto.proto_filter.FilterRPC-1.html" class="tsd-signature-type" data-tsd-kind="Interface">FilterRPC</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources">
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/proto/src/lib/filter.ts#L297">packages/proto/src/lib/filter.ts:297</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/proto/src/lib/filter.ts#L297">packages/proto/src/lib/filter.ts:297</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">
@ -40,8 +40,7 @@
<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>
<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></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">
@ -53,6 +52,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -69,15 +71,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -25,7 +25,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Codec</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/_waku_proto.proto_filter.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto_filter</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_proto.proto_filter.FilterRequest.html" class="tsd-signature-type" data-tsd-kind="Namespace">FilterRequest</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/_waku_proto.proto_filter.FilterRequest.ContentFilter-1.html" class="tsd-signature-type" data-tsd-kind="Interface">ContentFilter</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/proto/src/lib/filter.ts#L22">packages/proto/src/lib/filter.ts:22</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/proto/src/lib/filter.ts#L22">packages/proto/src/lib/filter.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">
@ -36,8 +36,7 @@
<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>
<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></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">
@ -49,6 +48,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -65,15 +67,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -21,16 +21,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/_waku_proto.proto_filter.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto_filter</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_proto.proto_filter.FilterRequest.html" class="tsd-signature-type" data-tsd-kind="Namespace">FilterRequest</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/_waku_proto.proto_filter.FilterRequest.ContentFilter-1.html" class="tsd-signature-type" data-tsd-kind="Interface">ContentFilter</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><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><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/_waku_proto.proto_filter.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto_filter</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_proto.proto_filter.FilterRequest.html" class="tsd-signature-type" data-tsd-kind="Namespace">FilterRequest</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/_waku_proto.proto_filter.FilterRequest.ContentFilter-1.html" class="tsd-signature-type" data-tsd-kind="Interface">ContentFilter</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>
<h5>buf: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><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/_waku_proto.proto_filter.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto_filter</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_proto.proto_filter.FilterRequest.html" class="tsd-signature-type" data-tsd-kind="Namespace">FilterRequest</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/_waku_proto.proto_filter.FilterRequest.ContentFilter-1.html" class="tsd-signature-type" data-tsd-kind="Interface">ContentFilter</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/proto/src/lib/filter.ts#L69">packages/proto/src/lib/filter.ts:69</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/proto/src/lib/filter.ts#L69">packages/proto/src/lib/filter.ts:69</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">
@ -41,8 +41,7 @@
<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>
<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></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">
@ -54,6 +53,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -70,15 +72,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -21,16 +21,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/_waku_proto.proto_filter.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto_filter</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_proto.proto_filter.FilterRequest.html" class="tsd-signature-type" data-tsd-kind="Namespace">FilterRequest</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/_waku_proto.proto_filter.FilterRequest.ContentFilter-1.html" class="tsd-signature-type" data-tsd-kind="Interface">ContentFilter</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="../modules/_waku_proto.proto_filter.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto_filter</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_proto.proto_filter.FilterRequest.html" class="tsd-signature-type" data-tsd-kind="Namespace">FilterRequest</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/_waku_proto.proto_filter.FilterRequest.ContentFilter-1.html" class="tsd-signature-type" data-tsd-kind="Interface">ContentFilter</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><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/_waku_proto.proto_filter.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto_filter</a><span class="tsd-signature-symbol">.</span><a href="../modules/_waku_proto.proto_filter.FilterRequest.html" class="tsd-signature-type" data-tsd-kind="Namespace">FilterRequest</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/_waku_proto.proto_filter.FilterRequest.ContentFilter-1.html" class="tsd-signature-type" data-tsd-kind="Interface">ContentFilter</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources">
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/proto/src/lib/filter.ts#L65">packages/proto/src/lib/filter.ts:65</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/proto/src/lib/filter.ts#L65">packages/proto/src/lib/filter.ts:65</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">
@ -41,8 +41,7 @@
<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>
<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></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">
@ -54,6 +53,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -70,15 +72,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -24,7 +24,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Codec</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_proto.proto_filter.FilterRequest-1.html" class="tsd-signature-type" data-tsd-kind="Interface">FilterRequest</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/proto/src/lib/filter.ts#L76">packages/proto/src/lib/filter.ts:76</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/proto/src/lib/filter.ts#L76">packages/proto/src/lib/filter.ts:76</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">
@ -35,8 +35,7 @@
<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>
<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></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">
@ -48,6 +47,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -64,15 +66,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -20,16 +20,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="../interfaces/_waku_proto.proto_filter.FilterRequest-1.html" class="tsd-signature-type" data-tsd-kind="Interface">FilterRequest</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><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><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/_waku_proto.proto_filter.FilterRequest-1.html" class="tsd-signature-type" data-tsd-kind="Interface">FilterRequest</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>
<h5>buf: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><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/_waku_proto.proto_filter.FilterRequest-1.html" class="tsd-signature-type" data-tsd-kind="Interface">FilterRequest</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/proto/src/lib/filter.ts#L152">packages/proto/src/lib/filter.ts:152</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/proto/src/lib/filter.ts#L152">packages/proto/src/lib/filter.ts:152</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">
@ -40,8 +40,7 @@
<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>
<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></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">
@ -53,6 +52,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -69,15 +71,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -20,16 +20,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="../interfaces/_waku_proto.proto_filter.FilterRequest-1.html" class="tsd-signature-type" data-tsd-kind="Interface">FilterRequest</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/_waku_proto.proto_filter.FilterRequest-1.html" class="tsd-signature-type" data-tsd-kind="Interface">FilterRequest</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><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="../interfaces/_waku_proto.proto_filter.FilterRequest-1.html" class="tsd-signature-type" data-tsd-kind="Interface">FilterRequest</a></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources">
<h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/proto/src/lib/filter.ts#L148">packages/proto/src/lib/filter.ts:148</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/proto/src/lib/filter.ts#L148">packages/proto/src/lib/filter.ts:148</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">
@ -40,8 +40,7 @@
<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>
<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></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">
@ -53,6 +52,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -69,15 +71,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -24,7 +24,7 @@
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Codec</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/_waku_proto.proto_filter.MessagePush-1.html" class="tsd-signature-type" data-tsd-kind="Interface">MessagePush</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/proto/src/lib/filter.ts#L164">packages/proto/src/lib/filter.ts:164</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/proto/src/lib/filter.ts#L164">packages/proto/src/lib/filter.ts:164</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">
@ -35,8 +35,7 @@
<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>
<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></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">
@ -48,6 +47,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -64,15 +66,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

View File

@ -20,16 +20,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="../interfaces/_waku_proto.proto_filter.MessagePush-1.html" class="tsd-signature-type" data-tsd-kind="Interface">MessagePush</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><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><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/_waku_proto.proto_filter.MessagePush-1.html" class="tsd-signature-type" data-tsd-kind="Interface">MessagePush</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>
<h5>buf: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><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/_waku_proto.proto_filter.MessagePush-1.html" class="tsd-signature-type" data-tsd-kind="Interface">MessagePush</a></h4><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/proto/src/lib/filter.ts#L221">packages/proto/src/lib/filter.ts:221</a></li></ul></aside></li></ul></section></div>
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/79838d8c/packages/proto/src/lib/filter.ts#L221">packages/proto/src/lib/filter.ts:221</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">
@ -40,8 +40,7 @@
<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>
<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></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">
@ -53,6 +52,9 @@
<ul>
<li class="tsd-kind-module"><a href="../modules/_waku_core.html">@waku/core</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core._internal_.TopicOnlyMessage.html">Topic<wbr/>Only<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.message.html">message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.message.topic_only_message.html">topic_<wbr/>only_<wbr/>message</a></li>
@ -69,15 +71,27 @@
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_core.waku_light_push.PushResponse.html">Push<wbr/>Response</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_relay.html">waku_<wbr/>relay</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_core.waku_store.html">waku_<wbr/>store</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_create.html">@waku/create</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_create._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_message_encryption.html">@waku/message-<wbr/>encryption</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.html">&lt;internal&gt;</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption._internal_.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a>
<ul>
<li class="tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_peer_exchange._internal_.html">&lt;internal&gt;</a></li></ul></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>

Some files were not shown because too many files have changed in this diff Show More