mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-04 06:43:12 +00:00
Updates
This commit is contained in:
parent
e3e6041d5a
commit
5e25ad9ca2
File diff suppressed because one or more lines are too long
@ -21,7 +21,7 @@
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">ConnectionManager</span></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/core/src/lib/connection_manager.ts#L16">packages/core/src/lib/connection_manager.ts:16</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/connection_manager.ts#L16">packages/core/src/lib/connection_manager.ts:16</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
||||
@ -72,24 +72,24 @@
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/_waku_core._internal_.ConnectionManagerOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">ConnectionManagerOptions</a><span class="tsd-signature-symbol">></span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="_waku_core.ConnectionManager.html" class="tsd-signature-type" data-tsd-kind="Class">ConnectionManager</a></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/core/src/lib/connection_manager.ts#L44">packages/core/src/lib/connection_manager.ts:44</a></li></ul></aside></li></ul></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/connection_manager.ts#L44">packages/core/src/lib/connection_manager.ts:44</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="dialAttemptsForPeer" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>dial<wbr/>Attempts<wbr/>For<wbr/>Peer</span><a href="#dialAttemptsForPeer" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">dial<wbr/>Attempts<wbr/>For<wbr/>Peer<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"><</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">></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/4eacc39a/packages/core/src/lib/connection_manager.ts#L21">packages/core/src/lib/connection_manager.ts:21</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/connection_manager.ts#L21">packages/core/src/lib/connection_manager.ts:21</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="keepAliveManager" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>keep<wbr/>Alive<wbr/>Manager</span><a href="#keepAliveManager" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">keep<wbr/>Alive<wbr/>Manager<span class="tsd-signature-symbol">:</span> <a href="_waku_core.KeepAliveManager.html" class="tsd-signature-type" data-tsd-kind="Class">KeepAliveManager</a></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/core/src/lib/connection_manager.ts#L18">packages/core/src/lib/connection_manager.ts:18</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/connection_manager.ts#L18">packages/core/src/lib/connection_manager.ts:18</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="libp2pComponents" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>libp2p<wbr/>Components</span><a href="#libp2pComponents" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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<wbr/>Components<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Libp2p</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/core/src/lib/connection_manager.ts#L20">packages/core/src/lib/connection_manager.ts:20</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/connection_manager.ts#L20">packages/core/src/lib/connection_manager.ts:20</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="onEventHandlers" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>on<wbr/>Event<wbr/>Handlers</span><a href="#onEventHandlers" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">on<wbr/>Event<wbr/>Handlers<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span>peer:connect<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>evt<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"><</span><span class="tsd-signature-type">Connection</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">; </span><br/><span> </span>peer:disconnect<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>evt<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"><</span><span class="tsd-signature-type">Connection</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">; </span><br/><span> </span>peer:discovery<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>evt<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"><</span><span class="tsd-signature-type">PeerInfo</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div>
|
||||
@ -142,17 +142,17 @@
|
||||
<h5>evt: <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"><</span><span class="tsd-signature-type">PeerInfo</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></li></ul></li></ul></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/core/src/lib/connection_manager.ts#L158">packages/core/src/lib/connection_manager.ts:158</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/connection_manager.ts#L158">packages/core/src/lib/connection_manager.ts:158</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_core._internal_.ConnectionManagerOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">ConnectionManagerOptions</a></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/core/src/lib/connection_manager.ts#L19">packages/core/src/lib/connection_manager.ts:19</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/connection_manager.ts#L19">packages/core/src/lib/connection_manager.ts:19</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="instances" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <code class="tsd-tag ts-flagPrivate">Private</code> <span>instances</span><a href="#instances" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">instances<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"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><a href="_waku_core.ConnectionManager.html" class="tsd-signature-type" data-tsd-kind="Class">ConnectionManager</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/core/src/lib/connection_manager.ts#L17">packages/core/src/lib/connection_manager.ts:17</a></li></ul></aside></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/connection_manager.ts#L17">packages/core/src/lib/connection_manager.ts:17</a></li></ul></aside></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Methods</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="dialPeer" class="tsd-anchor"></a>
|
||||
@ -167,7 +167,7 @@
|
||||
<h5>peerId: <span class="tsd-signature-type">PeerId</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/core/src/lib/connection_manager.ts#L87">packages/core/src/lib/connection_manager.ts:87</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/connection_manager.ts#L87">packages/core/src/lib/connection_manager.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="getTagNamesForPeer" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>get<wbr/>Tag<wbr/>Names<wbr/>For<wbr/>Peer</span><a href="#getTagNamesForPeer" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-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">
|
||||
@ -182,7 +182,7 @@
|
||||
<h5>peerId: <span class="tsd-signature-type">PeerId</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"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/core/src/lib/connection_manager.ts#L214">packages/core/src/lib/connection_manager.ts:214</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/connection_manager.ts#L214">packages/core/src/lib/connection_manager.ts:214</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="run" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>run</span><a href="#run" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-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">
|
||||
@ -190,7 +190,7 @@
|
||||
<li class="tsd-description">
|
||||
<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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/core/src/lib/connection_manager.ts#L64">packages/core/src/lib/connection_manager.ts:64</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/connection_manager.ts#L64">packages/core/src/lib/connection_manager.ts:64</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="shouldDialPeer" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>should<wbr/>Dial<wbr/>Peer</span><a href="#shouldDialPeer" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-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">
|
||||
@ -209,7 +209,7 @@
|
||||
<h5>peerId: <span class="tsd-signature-type">PeerId</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"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/core/src/lib/connection_manager.ts#L187">packages/core/src/lib/connection_manager.ts:187</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/connection_manager.ts#L187">packages/core/src/lib/connection_manager.ts:187</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="startPeerConnectionListener" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>start<wbr/>Peer<wbr/>Connection<wbr/>Listener</span><a href="#startPeerConnectionListener" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-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">
|
||||
@ -217,7 +217,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/4eacc39a/packages/core/src/lib/connection_manager.ts#L132">packages/core/src/lib/connection_manager.ts:132</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/connection_manager.ts#L132">packages/core/src/lib/connection_manager.ts:132</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="startPeerDisconnectionListener" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>start<wbr/>Peer<wbr/>Disconnection<wbr/>Listener</span><a href="#startPeerDisconnectionListener" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-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">
|
||||
@ -225,7 +225,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/4eacc39a/packages/core/src/lib/connection_manager.ts#L139">packages/core/src/lib/connection_manager.ts:139</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/connection_manager.ts#L139">packages/core/src/lib/connection_manager.ts:139</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="startPeerDiscoveryListener" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>start<wbr/>Peer<wbr/>Discovery<wbr/>Listener</span><a href="#startPeerDiscoveryListener" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-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">
|
||||
@ -233,7 +233,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/4eacc39a/packages/core/src/lib/connection_manager.ts#L125">packages/core/src/lib/connection_manager.ts:125</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/connection_manager.ts#L125">packages/core/src/lib/connection_manager.ts:125</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">
|
||||
@ -241,7 +241,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/4eacc39a/packages/core/src/lib/connection_manager.ts#L71">packages/core/src/lib/connection_manager.ts:71</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/connection_manager.ts#L71">packages/core/src/lib/connection_manager.ts:71</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">
|
||||
@ -262,7 +262,7 @@
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <a href="../interfaces/_waku_core._internal_.ConnectionManagerOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">ConnectionManagerOptions</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="_waku_core.ConnectionManager.html" class="tsd-signature-type" data-tsd-kind="Class">ConnectionManager</a></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/core/src/lib/connection_manager.ts#L23">packages/core/src/lib/connection_manager.ts:23</a></li></ul></aside></li></ul></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/connection_manager.ts#L23">packages/core/src/lib/connection_manager.ts:23</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">
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
<ul class="tsd-hierarchy">
|
||||
<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/4eacc39a/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/36534af0/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">
|
||||
@ -63,14 +63,14 @@
|
||||
<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/4eacc39a/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/36534af0/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/4eacc39a/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/36534af0/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="_rawTimestamp" class="tsd-anchor"></a>
|
||||
@ -80,7 +80,7 @@
|
||||
<li class="tsd-description">
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">bigint</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/core/src/lib/message/version_0.ts#L34">packages/core/src/lib/message/version_0.ts:34</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/message/version_0.ts#L34">packages/core/src/lib/message/version_0.ts:34</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="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">
|
||||
@ -89,7 +89,7 @@
|
||||
<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_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/4eacc39a/packages/core/src/lib/message/version_0.ts#L30">packages/core/src/lib/message/version_0.ts:30</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/message/version_0.ts#L30">packages/core/src/lib/message/version_0.ts:30</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="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">
|
||||
@ -98,7 +98,7 @@
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/_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/4eacc39a/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/36534af0/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="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">
|
||||
@ -107,7 +107,7 @@
|
||||
<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_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/4eacc39a/packages/core/src/lib/message/version_0.ts#L26">packages/core/src/lib/message/version_0.ts:26</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/message/version_0.ts#L26">packages/core/src/lib/message/version_0.ts:26</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="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">
|
||||
@ -116,7 +116,7 @@
|
||||
<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/4eacc39a/packages/core/src/lib/message/version_0.ts#L59">packages/core/src/lib/message/version_0.ts:59</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/message/version_0.ts#L59">packages/core/src/lib/message/version_0.ts:59</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">
|
||||
@ -125,7 +125,7 @@
|
||||
<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/4eacc39a/packages/core/src/lib/message/version_0.ts#L38">packages/core/src/lib/message/version_0.ts:38</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/message/version_0.ts#L38">packages/core/src/lib/message/version_0.ts:38</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">
|
||||
@ -133,7 +133,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/4eacc39a/packages/core/src/lib/message/version_0.ts#L53">packages/core/src/lib/message/version_0.ts:53</a></li></ul></aside></li></ul></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/message/version_0.ts#L53">packages/core/src/lib/message/version_0.ts:53</a></li></ul></aside></li></ul></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><a href="../interfaces/_waku_core._internal_.IDecoder.html" class="tsd-signature-type" data-tsd-kind="Interface">IDecoder</a><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">></span></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/core/src/lib/message/version_0.ts#L101">packages/core/src/lib/message/version_0.ts:101</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/message/version_0.ts#L101">packages/core/src/lib/message/version_0.ts:101</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,7 +58,7 @@
|
||||
<h5>contentTopic: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="_waku_core.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/4eacc39a/packages/core/src/lib/message/version_0.ts#L102">packages/core/src/lib/message/version_0.ts:102</a></li></ul></aside></li></ul></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/message/version_0.ts#L102">packages/core/src/lib/message/version_0.ts:102</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>
|
||||
@ -66,7 +66,7 @@
|
||||
<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_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/4eacc39a/packages/core/src/lib/message/version_0.ts#L102">packages/core/src/lib/message/version_0.ts:102</a></li></ul></aside></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/message/version_0.ts#L102">packages/core/src/lib/message/version_0.ts:102</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>
|
||||
@ -82,7 +82,7 @@
|
||||
<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"><</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">></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/4eacc39a/packages/core/src/lib/message/version_0.ts#L117">packages/core/src/lib/message/version_0.ts:117</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/message/version_0.ts#L117">packages/core/src/lib/message/version_0.ts:117</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">
|
||||
@ -96,7 +96,7 @@
|
||||
<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"><</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">></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/4eacc39a/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></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/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></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">
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
<ul class="tsd-hierarchy">
|
||||
<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/4eacc39a/packages/core/src/lib/message/version_0.ts#L64">packages/core/src/lib/message/version_0.ts:64</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/message/version_0.ts#L64">packages/core/src/lib/message/version_0.ts:64</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,7 +61,7 @@
|
||||
<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="_waku_core.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/4eacc39a/packages/core/src/lib/message/version_0.ts#L65">packages/core/src/lib/message/version_0.ts:65</a></li></ul></aside></li></ul></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/message/version_0.ts#L65">packages/core/src/lib/message/version_0.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="contentTopic" class="tsd-anchor"></a>
|
||||
@ -69,13 +69,13 @@
|
||||
<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_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/4eacc39a/packages/core/src/lib/message/version_0.ts#L65">packages/core/src/lib/message/version_0.ts:65</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/message/version_0.ts#L65">packages/core/src/lib/message/version_0.ts:65</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_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/4eacc39a/packages/core/src/lib/message/version_0.ts#L65">packages/core/src/lib/message/version_0.ts:65</a></li></ul></aside></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/message/version_0.ts#L65">packages/core/src/lib/message/version_0.ts:65</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>
|
||||
@ -91,7 +91,7 @@
|
||||
<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"><</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></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/4eacc39a/packages/core/src/lib/message/version_0.ts#L71">packages/core/src/lib/message/version_0.ts:71</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/message/version_0.ts#L71">packages/core/src/lib/message/version_0.ts:71</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">
|
||||
@ -105,7 +105,7 @@
|
||||
<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"><</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></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/4eacc39a/packages/core/src/lib/message/version_0.ts#L67">packages/core/src/lib/message/version_0.ts:67</a></li></ul></aside></li></ul></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/message/version_0.ts#L67">packages/core/src/lib/message/version_0.ts:67</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">
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">KeepAliveManager</span></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/core/src/lib/keep_alive_manager.ts#L17">packages/core/src/lib/keep_alive_manager.ts:17</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/keep_alive_manager.ts#L17">packages/core/src/lib/keep_alive_manager.ts:17</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,29 +60,29 @@
|
||||
<h5><code class="tsd-tag ts-flagOptional">Optional</code> relay: <a href="../interfaces/_waku_core._internal_.IRelay.html" class="tsd-signature-type" data-tsd-kind="Interface">IRelay</a></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="_waku_core.KeepAliveManager.html" class="tsd-signature-type" data-tsd-kind="Class">KeepAliveManager</a></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/core/src/lib/keep_alive_manager.ts#L23">packages/core/src/lib/keep_alive_manager.ts:23</a></li></ul></aside></li></ul></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/keep_alive_manager.ts#L23">packages/core/src/lib/keep_alive_manager.ts:23</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="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_core.KeepAliveOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">KeepAliveOptions</a></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/core/src/lib/keep_alive_manager.ts#L20">packages/core/src/lib/keep_alive_manager.ts:20</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/keep_alive_manager.ts#L20">packages/core/src/lib/keep_alive_manager.ts:20</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> <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"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">Timer</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/4eacc39a/packages/core/src/lib/keep_alive_manager.ts#L18">packages/core/src/lib/keep_alive_manager.ts:18</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/keep_alive_manager.ts#L18">packages/core/src/lib/keep_alive_manager.ts:18</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"><a id="relay" 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>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_core._internal_.IRelay.html" class="tsd-signature-type" data-tsd-kind="Interface">IRelay</a></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/core/src/lib/keep_alive_manager.ts#L21">packages/core/src/lib/keep_alive_manager.ts:21</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/keep_alive_manager.ts#L21">packages/core/src/lib/keep_alive_manager.ts:21</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> <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"><</span><span class="tsd-signature-type">PeerId</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">Timer</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/4eacc39a/packages/core/src/lib/keep_alive_manager.ts#L19">packages/core/src/lib/keep_alive_manager.ts:19</a></li></ul></aside></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/keep_alive_manager.ts#L19">packages/core/src/lib/keep_alive_manager.ts:19</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="start" class="tsd-anchor"></a>
|
||||
@ -117,7 +117,7 @@
|
||||
<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"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">></span></h4></li></ul></li></ul></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/core/src/lib/keep_alive_manager.ts#L30">packages/core/src/lib/keep_alive_manager.ts:30</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/keep_alive_manager.ts#L30">packages/core/src/lib/keep_alive_manager.ts:30</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">
|
||||
@ -130,7 +130,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/4eacc39a/packages/core/src/lib/keep_alive_manager.ts#L64">packages/core/src/lib/keep_alive_manager.ts:64</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/keep_alive_manager.ts#L64">packages/core/src/lib/keep_alive_manager.ts:64</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="stopAll" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>stop<wbr/>All</span><a href="#stopAll" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
@ -138,7 +138,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/4eacc39a/packages/core/src/lib/keep_alive_manager.ts#L78">packages/core/src/lib/keep_alive_manager.ts:78</a></li></ul></aside></li></ul></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/keep_alive_manager.ts#L78">packages/core/src/lib/keep_alive_manager.ts:78</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">
|
||||
|
||||
@ -27,7 +27,7 @@
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><a href="../interfaces/_waku_core._internal_.IDecoder.html" class="tsd-signature-type" data-tsd-kind="Interface">IDecoder</a><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">></span></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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/36534af0/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">
|
||||
@ -61,7 +61,7 @@
|
||||
<div class="tsd-signature">content<wbr/>Topic<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = ""</span></div><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/_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/4eacc39a/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/36534af0/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>
|
||||
@ -77,7 +77,7 @@
|
||||
<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"><</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">></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/4eacc39a/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/36534af0/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">
|
||||
@ -91,7 +91,7 @@
|
||||
<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"><</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">></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/4eacc39a/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/36534af0/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">
|
||||
|
||||
@ -27,7 +27,7 @@
|
||||
<ul class="tsd-hierarchy">
|
||||
<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/4eacc39a/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/36534af0/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">
|
||||
@ -63,7 +63,7 @@
|
||||
<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/4eacc39a/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/36534af0/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>
|
||||
@ -71,30 +71,30 @@
|
||||
<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_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/4eacc39a/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/36534af0/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> <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></div><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/4eacc39a/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/36534af0/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="../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/4eacc39a/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/36534af0/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_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/4eacc39a/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/36534af0/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_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/4eacc39a/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/36534af0/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>
|
||||
@ -105,7 +105,7 @@
|
||||
<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_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/4eacc39a/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/36534af0/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">
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
<ul class="tsd-hierarchy">
|
||||
<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/4eacc39a/packages/core/src/lib/waku.ts#L47">packages/core/src/lib/waku.ts:47</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/waku.ts#L47">packages/core/src/lib/waku.ts:47</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
||||
@ -108,44 +108,44 @@
|
||||
<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></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/4eacc39a/packages/core/src/lib/waku.ts#L55">packages/core/src/lib/waku.ts:55</a></li></ul></aside></li></ul></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/waku.ts#L55">packages/core/src/lib/waku.ts:55</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="connectionManager" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>connection<wbr/>Manager</span><a href="#connectionManager" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">connection<wbr/>Manager<span class="tsd-signature-symbol">:</span> <a href="_waku_core.ConnectionManager.html" class="tsd-signature-type" data-tsd-kind="Class">ConnectionManager</a></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/core/src/lib/waku.ts#L53">packages/core/src/lib/waku.ts:53</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/waku.ts#L53">packages/core/src/lib/waku.ts:53</a></li></ul></aside></section>
|
||||
<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_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/4eacc39a/packages/core/src/lib/waku.ts#L51">packages/core/src/lib/waku.ts:51</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/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="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_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/4eacc39a/packages/core/src/lib/waku.ts#L48">packages/core/src/lib/waku.ts:48</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/waku.ts#L48">packages/core/src/lib/waku.ts:48</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_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/4eacc39a/packages/core/src/lib/waku.ts#L52">packages/core/src/lib/waku.ts:52</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/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"><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_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/4eacc39a/packages/core/src/lib/waku.ts#L49">packages/core/src/lib/waku.ts:49</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/waku.ts#L49">packages/core/src/lib/waku.ts:49</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="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_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/4eacc39a/packages/core/src/lib/waku.ts#L50">packages/core/src/lib/waku.ts:50</a></li></ul></aside></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/waku.ts#L50">packages/core/src/lib/waku.ts:50</a></li></ul></aside></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Methods</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="dial" class="tsd-anchor"></a>
|
||||
@ -169,7 +169,7 @@
|
||||
<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"><</span><span class="tsd-signature-type">Stream</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/_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/4eacc39a/packages/core/src/lib/waku.ts#L107">packages/core/src/lib/waku.ts:107</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/waku.ts#L107">packages/core/src/lib/waku.ts:107</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">
|
||||
@ -181,7 +181,7 @@
|
||||
</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/4eacc39a/packages/core/src/lib/waku.ts#L181">packages/core/src/lib/waku.ts:181</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/waku.ts#L181">packages/core/src/lib/waku.ts:181</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">
|
||||
@ -190,7 +190,7 @@
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/_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/4eacc39a/packages/core/src/lib/waku.ts#L172">packages/core/src/lib/waku.ts:172</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/waku.ts#L172">packages/core/src/lib/waku.ts:172</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><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">
|
||||
@ -199,7 +199,7 @@
|
||||
<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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/_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/4eacc39a/packages/core/src/lib/waku.ts#L163">packages/core/src/lib/waku.ts:163</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/waku.ts#L163">packages/core/src/lib/waku.ts:163</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">
|
||||
@ -208,7 +208,7 @@
|
||||
<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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/_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/4eacc39a/packages/core/src/lib/waku.ts#L167">packages/core/src/lib/waku.ts:167</a></li></ul></aside></li></ul></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/waku.ts#L167">packages/core/src/lib/waku.ts:167</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">
|
||||
|
||||
@ -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/4eacc39a/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/36534af0/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/4eacc39a/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/36534af0/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,17 +71,17 @@
|
||||
<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/4eacc39a/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/36534af0/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/4eacc39a/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/36534af0/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/4eacc39a/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/36534af0/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>
|
||||
@ -103,7 +103,7 @@ this DNS tree cache or via DNS query.</p>
|
||||
<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 <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"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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/36534af0/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">
|
||||
@ -121,7 +121,7 @@ ENR record as an ENR. Returns null if parsing or DNS resolution fails.</p>
|
||||
<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 <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"><</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">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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/36534af0/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">
|
||||
@ -139,7 +139,7 @@ return fewer peers than requested if</p>
|
||||
<h5>wantedNodeCapabilityCount: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/_waku_dns_discovery.NodeCapabilityCount.html" class="tsd-signature-type" data-tsd-kind="Interface">NodeCapabilityCount</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/AsyncGenerator" class="tsd-signature-type external" target="_blank">AsyncGenerator</a><span class="tsd-signature-symbol"><</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">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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/36534af0/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">
|
||||
@ -165,7 +165,7 @@ peers encountered by randomized search exceeds the sum of the fields of</p>
|
||||
<h5>wantedNodeCapabilityCount: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/_waku_dns_discovery.NodeCapabilityCount.html" class="tsd-signature-type" data-tsd-kind="Interface">NodeCapabilityCount</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"><</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">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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/36534af0/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/4eacc39a/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/36534af0/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">
|
||||
|
||||
@ -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/4eacc39a/packages/dns-discovery/src/index.ts#L60">packages/dns-discovery/src/index.ts:60</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/dns-discovery/src/index.ts#L59">packages/dns-discovery/src/index.ts:59</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
||||
@ -74,24 +74,24 @@
|
||||
<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<PeerDiscoveryEvents>.constructor</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/dns-discovery/src/index.ts#L69">packages/dns-discovery/src/index.ts:69</a></li></ul></aside></li></ul></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/dns-discovery/src/index.ts#L68">packages/dns-discovery/src/index.ts:68</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="_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_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/4eacc39a/packages/dns-discovery/src/index.ts#L66">packages/dns-discovery/src/index.ts:66</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/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="_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/4eacc39a/packages/dns-discovery/src/index.ts#L67">packages/dns-discovery/src/index.ts:67</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/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="_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/4eacc39a/packages/dns-discovery/src/index.ts#L65">packages/dns-discovery/src/index.ts:65</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/dns-discovery/src/index.ts#L64">packages/dns-discovery/src/index.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="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"> => </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"><</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">></span><span class="tsd-signature-symbol">)</span></div>
|
||||
@ -104,7 +104,7 @@
|
||||
<li class="tsd-description">
|
||||
<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"><</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">></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/4eacc39a/packages/dns-discovery/src/index.ts#L64">packages/dns-discovery/src/index.ts:64</a></li></ul></aside></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/dns-discovery/src/index.ts#L63">packages/dns-discovery/src/index.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>
|
||||
@ -113,18 +113,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@8305</p>
|
||||
<p>Implementation of PeerDiscovery.__@symbol@8316</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/dns-discovery/src/index.ts#L128">packages/dns-discovery/src/index.ts:128</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/dns-discovery/src/index.ts#L128">packages/dns-discovery/src/index.ts:128</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@7050</p>
|
||||
<p>Implementation of PeerDiscovery.__@toStringTag@7053</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/dns-discovery/src/index.ts#L132">packages/dns-discovery/src/index.ts:132</a></li></ul></aside></li></ul></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/dns-discovery/src/index.ts#L132">packages/dns-discovery/src/index.ts:132</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="start" class="tsd-anchor"></a>
|
||||
@ -136,7 +136,7 @@
|
||||
</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/dns-discovery/src/index.ts#L91">packages/dns-discovery/src/index.ts:91</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/dns-discovery/src/index.ts#L90">packages/dns-discovery/src/index.ts:90</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">
|
||||
@ -146,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/4eacc39a/packages/dns-discovery/src/index.ts#L124">packages/dns-discovery/src/index.ts:124</a></li></ul></aside></li></ul></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/dns-discovery/src/index.ts#L124">packages/dns-discovery/src/index.ts:124</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">
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
<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"><</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">></span>
|
||||
<li><a href="_waku_dns_discovery._internal_.RawEnr.html" class="tsd-signature-type" data-tsd-kind="Class">RawEnr</a>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">ENR</span></li></ul></li></ul></section>
|
||||
<section class="tsd-panel">
|
||||
@ -28,7 +28,7 @@
|
||||
<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>
|
||||
<li>Defined in packages/enr/dist/enr.d.ts:16</li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
||||
@ -36,106 +36,129 @@
|
||||
<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 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-protected tsd-is-inherited"><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>
|
||||
<div class="tsd-index-list"><a href="_waku_dns_discovery._internal_.ENR.html#getLocationMultiaddr" 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>get<wbr/>Location<wbr/>Multiaddr</span></a>
|
||||
<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"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></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 tsd-is-inherited"><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 tsd-is-inherited"><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>
|
||||
<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 tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4D4D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-262144-path"></rect><path d="M8.85 16L11.13 7.24H12.582L14.85 16H13.758L13.182 13.672H10.53L9.954 16H8.85ZM10.746 12.76H12.954L12.282 10.06C12.154 9.548 12.054 9.12 11.982 8.776C11.91 8.432 11.866 8.208 11.85 8.104C11.834 8.208 11.79 8.432 11.718 8.776C11.646 9.12 11.546 9.544 11.418 10.048L10.746 12.76Z" fill="var(--color-text)" id="icon-262144-text"></path></svg><span>id</span></a>
|
||||
<a href="_waku_dns_discovery._internal_.ENR.html#ip" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>ip</span></a>
|
||||
<a href="_waku_dns_discovery._internal_.ENR.html#ip6" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>ip6</span></a>
|
||||
<a href="_waku_dns_discovery._internal_.ENR.html#multiaddrs" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>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>
|
||||
<a href="_waku_dns_discovery._internal_.ENR.html#peerInfo" 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>peer<wbr/>Info</span></a>
|
||||
<a href="_waku_dns_discovery._internal_.ENR.html#publicKey" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>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 tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>tcp</span></a>
|
||||
<a href="_waku_dns_discovery._internal_.ENR.html#tcp6" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>tcp6</span></a>
|
||||
<a href="_waku_dns_discovery._internal_.ENR.html#udp" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>udp</span></a>
|
||||
<a href="_waku_dns_discovery._internal_.ENR.html#udp6" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>udp6</span></a>
|
||||
<a href="_waku_dns_discovery._internal_.ENR.html#waku2" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>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>
|
||||
<div class="tsd-index-list"><a href="_waku_dns_discovery._internal_.ENR.html#getAllLocationMultiaddrs" 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>get<wbr/>All<wbr/>Location<wbr/>Multiaddrs</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#set" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>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>
|
||||
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-protected tsd-is-inherited"><a id="constructor" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</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-protected tsd-is-inherited">
|
||||
<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"><</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>, 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_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">
|
||||
<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"><</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></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="_waku_dns_discovery._internal_.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a></h4><aside class="tsd-sources">
|
||||
<p>Overrides Map<ENRKey, ENRValue>.constructor</p>
|
||||
<p>Inherited from <a href="_waku_dns_discovery._internal_.RawEnr.html">RawEnr</a>.<a href="_waku_dns_discovery._internal_.RawEnr.html#constructor">constructor</a></p>
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/enr.d.ts:10</li></ul></aside></li></ul></section></section>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:6</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="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>
|
||||
<div class="tsd-signature">get<wbr/>Location<wbr/>Multiaddr<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>protocol<span class="tsd-signature-symbol">: </span><a href="../enums/_waku_dns_discovery._internal_.TransportProtocol.html" class="tsd-signature-type" data-tsd-kind="Enumeration">TransportProtocol</a><span class="tsd-signature-symbol"> | </span><a href="../enums/_waku_dns_discovery._internal_.TransportProtocolPerIpVersion.html" class="tsd-signature-type" data-tsd-kind="Enumeration">TransportProtocolPerIpVersion</a><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></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-property">
|
||||
<li class="tsd-signature" id="getLocationMultiaddr.__type.__type-1"><span class="tsd-signature-symbol">(</span>protocol<span class="tsd-signature-symbol">: </span><a href="../enums/_waku_dns_discovery._internal_.TransportProtocol.html" class="tsd-signature-type" data-tsd-kind="Enumeration">TransportProtocol</a><span class="tsd-signature-symbol"> | </span><a href="../enums/_waku_dns_discovery._internal_.TransportProtocolPerIpVersion.html" class="tsd-signature-type" data-tsd-kind="Enumeration">TransportProtocolPerIpVersion</a><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></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>protocol: <a href="../enums/_waku_dns_discovery._internal_.TransportProtocol.html" class="tsd-signature-type" data-tsd-kind="Enumeration">TransportProtocol</a><span class="tsd-signature-symbol"> | </span><a href="../enums/_waku_dns_discovery._internal_.TransportProtocolPerIpVersion.html" class="tsd-signature-type" data-tsd-kind="Enumeration">TransportProtocolPerIpVersion</a></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></li></ul></li></ul></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/enr.d.ts:21</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_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>
|
||||
<li>Defined in packages/enr/dist/enr.d.ts:18</li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><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>
|
||||
<p>Inherited from <a href="_waku_dns_discovery._internal_.RawEnr.html">RawEnr</a>.<a href="_waku_dns_discovery._internal_.RawEnr.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>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:4</li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><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>
|
||||
<p>Inherited from <a href="_waku_dns_discovery._internal_.RawEnr.html">RawEnr</a>.<a href="_waku_dns_discovery._internal_.RawEnr.html#signature">signature</a></p>
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/enr.d.ts:8</li></ul></aside></section>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:5</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">"enr:"</span><span class="tsd-signature-symbol"> = "enr:"</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/enr.d.ts:6</li></ul></aside></section></section>
|
||||
<li>Defined in packages/enr/dist/enr.d.ts:17</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>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><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">
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
|
||||
<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>
|
||||
<p>Inherited from RawEnr.id</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>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:8</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><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">
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
|
||||
<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>
|
||||
<p>Inherited from RawEnr.ip</p>
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/enr.d.ts:23</li></ul></aside></li>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:10</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">
|
||||
@ -145,17 +168,19 @@
|
||||
<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>
|
||||
<p>Inherited from RawEnr.ip</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>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:11</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><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">
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
|
||||
<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>
|
||||
<p>Inherited from RawEnr.ip6</p>
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/enr.d.ts:29</li></ul></aside></li>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:16</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">
|
||||
@ -165,27 +190,12 @@
|
||||
<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>
|
||||
<p>Inherited from RawEnr.ip6</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>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:17</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><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">
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
|
||||
<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>
|
||||
@ -198,8 +208,9 @@ address (e.g. <code>dns4</code>, <code>dnsaddr</code>, etc)..</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Multiaddr</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
||||
<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>
|
||||
<p>Inherited from RawEnr.multiaddrs</p>
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/enr.d.ts:47</li></ul></aside></li>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:34</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>
|
||||
@ -218,8 +229,9 @@ ie, without a peer id.</p>
|
||||
<h5>multiaddrs: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Multiaddr</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<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>
|
||||
<p>Inherited from RawEnr.multiaddrs</p>
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/enr.d.ts:60</li></ul></aside></li></ul></section>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:47</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">
|
||||
@ -228,25 +240,36 @@ ie, without a peer id.</p>
|
||||
<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>
|
||||
<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="peerInfo" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>peer<wbr/>Info</span><a href="#peerInfo" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-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="peerInfo.peerInfo-1"><span class="tsd-signature-symbol">get</span> peerInfo<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">PeerInfo</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">PeerInfo</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#peerInfo">peerInfo</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 tsd-is-inherited"><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 tsd-is-inherited">
|
||||
<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>
|
||||
<p>Inherited from RawEnr.publicKey</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>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:9</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><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">
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
|
||||
<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>
|
||||
<p>Inherited from RawEnr.tcp</p>
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/enr.d.ts:25</li></ul></aside></li>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:12</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">
|
||||
@ -256,17 +279,19 @@ ie, without a peer id.</p>
|
||||
<h5>port: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<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>
|
||||
<p>Inherited from RawEnr.tcp</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>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:13</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><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">
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
|
||||
<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>
|
||||
<p>Inherited from RawEnr.tcp6</p>
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/enr.d.ts:31</li></ul></aside></li>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:18</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">
|
||||
@ -276,17 +301,19 @@ ie, without a peer id.</p>
|
||||
<h5>port: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<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>
|
||||
<p>Inherited from RawEnr.tcp6</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>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:19</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><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">
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
|
||||
<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>
|
||||
<p>Inherited from RawEnr.udp</p>
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/enr.d.ts:27</li></ul></aside></li>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:14</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">
|
||||
@ -296,17 +323,19 @@ ie, without a peer id.</p>
|
||||
<h5>port: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<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>
|
||||
<p>Inherited from RawEnr.udp</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>
|
||||
<li>Defined in packages/enr/dist/raw_enr.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="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">
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
|
||||
<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>
|
||||
<p>Inherited from RawEnr.udp6</p>
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/enr.d.ts:33</li></ul></aside></li>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:20</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">
|
||||
@ -316,19 +345,21 @@ ie, without a peer id.</p>
|
||||
<h5>port: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<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>
|
||||
<p>Inherited from RawEnr.udp6</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>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:21</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><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">
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
|
||||
<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>
|
||||
<p>Inherited from RawEnr.waku2</p>
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/enr.d.ts:79</li></ul></aside></li>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:51</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>
|
||||
@ -340,54 +371,23 @@ ie, without a peer id.</p>
|
||||
<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>
|
||||
<p>Inherited from RawEnr.waku2</p>
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/enr.d.ts:83</li></ul></aside></li></ul></section></section>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:55</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>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getAllLocationMultiaddrs" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>get<wbr/>All<wbr/>Location<wbr/>Multiaddrs</span><a href="#getAllLocationMultiaddrs" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-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"><</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><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="getAllLocationMultiaddrs.getAllLocationMultiaddrs-1">get<wbr/>All<wbr/>Location<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="#getAllLocationMultiaddrs.getAllLocationMultiaddrs-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"><</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></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>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Multiaddr</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in 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"><</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">></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"><</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">></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"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></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"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/enr.d.ts:88</li></ul></aside></li></ul></section>
|
||||
<li>Defined in packages/enr/dist/enr.d.ts:23</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">"udp"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp4"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp6"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp4"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp6"</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Multiaddr</span><a href="#getFullMultiaddr.getFullMultiaddr-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-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><a href="../enums/_waku_dns_discovery._internal_.TransportProtocol.html" class="tsd-signature-type" data-tsd-kind="Enumeration">TransportProtocol</a><span class="tsd-signature-symbol"> | </span><a href="../enums/_waku_dns_discovery._internal_.TransportProtocolPerIpVersion.html" class="tsd-signature-type" data-tsd-kind="Enumeration">TransportProtocolPerIpVersion</a><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.
|
||||
@ -398,10 +398,10 @@ use <a href="_waku_dns_discovery._internal_.ENR.html#getFullMultiaddrs">getFullM
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>protocol: <span class="tsd-signature-type">"udp"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp4"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp6"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp4"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp6"</span></h5></li></ul></div>
|
||||
<h5>protocol: <a href="../enums/_waku_dns_discovery._internal_.TransportProtocol.html" class="tsd-signature-type" data-tsd-kind="Enumeration">TransportProtocol</a><span class="tsd-signature-symbol"> | </span><a href="../enums/_waku_dns_discovery._internal_.TransportProtocolPerIpVersion.html" class="tsd-signature-type" data-tsd-kind="Enumeration">TransportProtocolPerIpVersion</a></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>
|
||||
<li>Defined in packages/enr/dist/enr.d.ts:33</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">
|
||||
@ -412,23 +412,10 @@ use <a href="_waku_dns_discovery._internal_.ENR.html#getFullMultiaddrs">getFullM
|
||||
<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">"udp"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp4"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp6"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp4"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp6"</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Multiaddr</span><a href="#getLocationMultiaddr.getLocationMultiaddr-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>protocol: <span class="tsd-signature-type">"udp"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp4"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp6"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp4"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp6"</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Multiaddr</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in 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>
|
||||
<li>Defined in packages/enr/dist/enr.d.ts:37</li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><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">
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
||||
<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">
|
||||
@ -440,9 +427,9 @@ use <a href="_waku_dns_discovery._internal_.ENR.html#getFullMultiaddrs">getFullM
|
||||
<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>
|
||||
<p>Inherited from <a href="_waku_dns_discovery._internal_.RawEnr.html">RawEnr</a>.<a href="_waku_dns_discovery._internal_.RawEnr.html#set">set</a></p>
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/enr.d.ts:17</li></ul></aside></li></ul></section>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:7</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">
|
||||
@ -455,7 +442,7 @@ use <a href="_waku_dns_discovery._internal_.ENR.html#getFullMultiaddrs">getFullM
|
||||
<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>
|
||||
<li>Defined in packages/enr/dist/enr.d.ts:22</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">
|
||||
@ -470,7 +457,7 @@ use <a href="_waku_dns_discovery._internal_.ENR.html#getFullMultiaddrs">getFullM
|
||||
<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"><</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></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/enr.d.ts:85</li></ul></aside></li></ul></section>
|
||||
<li>Defined in packages/enr/dist/enr.d.ts:39</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">
|
||||
@ -485,7 +472,7 @@ use <a href="_waku_dns_discovery._internal_.ENR.html#getFullMultiaddrs">getFullM
|
||||
<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>
|
||||
<li>Defined in packages/enr/dist/enr.d.ts:38</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">
|
||||
@ -502,76 +489,7 @@ use <a href="_waku_dns_discovery._internal_.ENR.html#getFullMultiaddrs">getFullM
|
||||
<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"><</span><a href="_waku_dns_discovery._internal_.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in 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"><</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-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"><</span><a href="_waku_dns_discovery._internal_.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">></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"><</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></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"><</span><a href="_waku_dns_discovery._internal_.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in 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"><</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-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"><</span><a href="_waku_dns_discovery._internal_.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">></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"><</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></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"><</span><a href="_waku_dns_discovery._internal_.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in 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"><</span><a href="_waku_dns_discovery._internal_.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">></span><a href="#decode.decode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>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"><</span><a href="_waku_dns_discovery._internal_.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in 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"><</span><a href="_waku_dns_discovery._internal_.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">></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"><</span><a href="_waku_dns_discovery._internal_.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in 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"><</span><a href="_waku_dns_discovery._internal_.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">></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"><</span><a href="_waku_dns_discovery._internal_.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/enr.d.ts:16</li></ul></aside></li></ul></section></section></div>
|
||||
<li>Defined in packages/enr/dist/enr.d.ts:19</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">
|
||||
@ -684,40 +602,32 @@ use <a href="_waku_dns_discovery._internal_.ENR.html#getFullMultiaddrs">getFullM
|
||||
<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-constructor tsd-parent-kind-class tsd-is-protected tsd-is-inherited"><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#getLocationMultiaddr" 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>get<wbr/>Location<wbr/>Multiaddr</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 tsd-is-inherited"><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 tsd-is-inherited"><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 tsd-is-inherited"><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 tsd-is-inherited"><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 tsd-is-inherited"><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 tsd-is-inherited"><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-accessor tsd-parent-kind-class"><a href="_waku_dns_discovery._internal_.ENR.html#peerInfo" 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>peer<wbr/>Info</a></li>
|
||||
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><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 tsd-is-inherited"><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 tsd-is-inherited"><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 tsd-is-inherited"><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 tsd-is-inherited"><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 tsd-is-inherited"><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#getAllLocationMultiaddrs" 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/>All<wbr/>Location<wbr/>Multiaddrs</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 tsd-is-inherited"><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>
|
||||
<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></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>
|
||||
422
classes/_waku_dns_discovery._internal_.RawEnr.html
Normal file
422
classes/_waku_dns_discovery._internal_.RawEnr.html
Normal file
@ -0,0 +1,422 @@
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>RawEnr | @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"><internal></a></li>
|
||||
<li><a href="_waku_dns_discovery._internal_.RawEnr.html">RawEnr</a></li></ul>
|
||||
<h1>Class RawEnr</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"><</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">></span>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">RawEnr</span>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><a href="_waku_dns_discovery._internal_.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a></li></ul></li></ul></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/raw_enr.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">Constructors</h3>
|
||||
<div class="tsd-index-list"><a href="_waku_dns_discovery._internal_.RawEnr.html#constructor" class="tsd-index-link tsd-kind-constructor 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="#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_.RawEnr.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"><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>seq</span></a>
|
||||
<a href="_waku_dns_discovery._internal_.RawEnr.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>
|
||||
</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_.RawEnr.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_.RawEnr.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_.RawEnr.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_.RawEnr.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_.RawEnr.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_.RawEnr.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_.RawEnr.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_.RawEnr.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_.RawEnr.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_.RawEnr.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_.RawEnr.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"><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>set</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-protected"><a id="constructor" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</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-protected">
|
||||
<li class="tsd-signature tsd-anchor-link" id="constructor.new_RawEnr">new <wbr/>Raw<wbr/>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"><</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>, 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_dns_discovery._internal_.RawEnr.html" class="tsd-signature-type" data-tsd-kind="Class">RawEnr</a><a href="#constructor.new_RawEnr" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="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"><</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></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="_waku_dns_discovery._internal_.RawEnr.html" class="tsd-signature-type" data-tsd-kind="Class">RawEnr</a></h4><aside class="tsd-sources">
|
||||
<p>Overrides Map<ENRKey, ENRValue>.constructor</p>
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:6</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="seq" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>seq</span><a href="#seq" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">seq<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">bigint</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:4</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">
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:5</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">
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:8</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">
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:10</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">
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:11</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">
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:16</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">
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:17</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">
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:34</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">
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:47</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">
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:9</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">
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:12</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">
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:13</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">
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:18</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">
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/raw_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="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">
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:14</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">
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:15</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">
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:20</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">
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/raw_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="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">
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:51</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">
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:55</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="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_.RawEnr.html" class="tsd-signature-type" data-tsd-kind="Class">RawEnr</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_.RawEnr.html" class="tsd-signature-type" data-tsd-kind="Class">RawEnr</a></h4><aside class="tsd-sources">
|
||||
<p>Overrides Map.set</p>
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/raw_enr.d.ts:7</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"><internal></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"><internal></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"><internal></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"><internal></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"><internal></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"><internal></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.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.FilterRpc.html">Filter<wbr/>Rpc</a></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.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.PushRpc.html">Push<wbr/>Rpc</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.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.HistoryRpc.html">History<wbr/>Rpc</a></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_.RawEnr.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>Raw<wbr/>Enr</span></a>
|
||||
<ul>
|
||||
<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-protected"><a href="_waku_dns_discovery._internal_.RawEnr.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_.RawEnr.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_.RawEnr.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-accessor tsd-parent-kind-class"><a href="_waku_dns_discovery._internal_.RawEnr.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_.RawEnr.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_.RawEnr.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_.RawEnr.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_.RawEnr.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_.RawEnr.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_.RawEnr.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_.RawEnr.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_.RawEnr.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_.RawEnr.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_.RawEnr.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></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>
|
||||
@ -19,7 +19,7 @@
|
||||
<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"><</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">></span>
|
||||
<li><a href="_waku_enr._internal_.RawEnr.html" class="tsd-signature-type" data-tsd-kind="Class">RawEnr</a>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">ENR</span></li></ul></li></ul></section>
|
||||
<section class="tsd-panel">
|
||||
@ -27,7 +27,7 @@
|
||||
<ul class="tsd-hierarchy">
|
||||
<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/4eacc39a/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/36534af0/packages/enr/src/enr.ts#L33">packages/enr/src/enr.ts:33</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
||||
@ -35,55 +35,47 @@
|
||||
<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_enr.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 class="tsd-index-list"><a href="_waku_enr.ENR.html#constructor" class="tsd-index-link tsd-kind-constructor tsd-parent-kind-class tsd-is-protected tsd-is-inherited"><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_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>
|
||||
<div class="tsd-index-list"><a href="_waku_enr.ENR.html#getLocationMultiaddr" 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>get<wbr/>Location<wbr/>Multiaddr</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>
|
||||
<a href="_waku_enr.ENR.html#seq" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><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 tsd-is-inherited"><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#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_enr.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_enr.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_enr.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_enr.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_enr.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_enr.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>
|
||||
<div class="tsd-index-list"><a href="_waku_enr.ENR.html#id" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4D4D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-262144-path"></rect><path d="M8.85 16L11.13 7.24H12.582L14.85 16H13.758L13.182 13.672H10.53L9.954 16H8.85ZM10.746 12.76H12.954L12.282 10.06C12.154 9.548 12.054 9.12 11.982 8.776C11.91 8.432 11.866 8.208 11.85 8.104C11.834 8.208 11.79 8.432 11.718 8.776C11.646 9.12 11.546 9.544 11.418 10.048L10.746 12.76Z" fill="var(--color-text)" id="icon-262144-text"></path></svg><span>id</span></a>
|
||||
<a href="_waku_enr.ENR.html#ip" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>ip</span></a>
|
||||
<a href="_waku_enr.ENR.html#ip6" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>ip6</span></a>
|
||||
<a href="_waku_enr.ENR.html#multiaddrs" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>multiaddrs</span></a>
|
||||
<a href="_waku_enr.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_enr.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_enr.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_enr.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_enr.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_enr.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_enr.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>
|
||||
<a href="_waku_enr.ENR.html#peerInfo" 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>peer<wbr/>Info</span></a>
|
||||
<a href="_waku_enr.ENR.html#publicKey" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>public<wbr/>Key</span></a>
|
||||
<a href="_waku_enr.ENR.html#tcp" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>tcp</span></a>
|
||||
<a href="_waku_enr.ENR.html#tcp6" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>tcp6</span></a>
|
||||
<a href="_waku_enr.ENR.html#udp" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>udp</span></a>
|
||||
<a href="_waku_enr.ENR.html#udp6" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>udp6</span></a>
|
||||
<a href="_waku_enr.ENR.html#waku2" class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg><span>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_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>
|
||||
<div class="tsd-index-list"><a href="_waku_enr.ENR.html#getAllLocationMultiaddrs" 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>get<wbr/>All<wbr/>Location<wbr/>Multiaddrs</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#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#set" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>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#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>
|
||||
<a href="_waku_enr.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_enr.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_enr.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_enr.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">
|
||||
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-protected tsd-is-inherited"><a id="constructor" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</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-protected tsd-is-inherited">
|
||||
<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"><</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>, 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">
|
||||
@ -96,54 +88,76 @@
|
||||
<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="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a></h4><aside class="tsd-sources">
|
||||
<p>Overrides Map<ENRKey, ENRValue>.constructor</p>
|
||||
<p>Inherited from <a href="_waku_enr._internal_.RawEnr.html">RawEnr</a>.<a href="_waku_enr._internal_.RawEnr.html#constructor">constructor</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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/36534af0/packages/enr/src/raw_enr.ts#L17">packages/enr/src/raw_enr.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="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>
|
||||
<div class="tsd-signature">get<wbr/>Location<wbr/>Multiaddr<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>protocol<span class="tsd-signature-symbol">: </span><a href="../enums/_waku_enr.TransportProtocol.html" class="tsd-signature-type" data-tsd-kind="Enumeration">TransportProtocol</a><span class="tsd-signature-symbol"> | </span><a href="../enums/_waku_enr.TransportProtocolPerIpVersion.html" class="tsd-signature-type" data-tsd-kind="Enumeration">TransportProtocolPerIpVersion</a><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><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-property">
|
||||
<li class="tsd-signature" id="getLocationMultiaddr.__type.__type-1"><span class="tsd-signature-symbol">(</span>protocol<span class="tsd-signature-symbol">: </span><a href="../enums/_waku_enr.TransportProtocol.html" class="tsd-signature-type" data-tsd-kind="Enumeration">TransportProtocol</a><span class="tsd-signature-symbol"> | </span><a href="../enums/_waku_enr.TransportProtocolPerIpVersion.html" class="tsd-signature-type" data-tsd-kind="Enumeration">TransportProtocolPerIpVersion</a><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></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>protocol: <a href="../enums/_waku_enr.TransportProtocol.html" class="tsd-signature-type" data-tsd-kind="Enumeration">TransportProtocol</a><span class="tsd-signature-symbol"> | </span><a href="../enums/_waku_enr.TransportProtocolPerIpVersion.html" class="tsd-signature-type" data-tsd-kind="Enumeration">TransportProtocolPerIpVersion</a></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></li></ul></li></ul></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/enr.ts#L63">packages/enr/src/enr.ts:63</a></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_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/4eacc39a/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>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/enr.ts#L35">packages/enr/src/enr.ts:35</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><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_enr._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_enr._internal_.IEnr.html#seq">seq</a></p>
|
||||
<p>Inherited from <a href="_waku_enr._internal_.RawEnr.html">RawEnr</a>.<a href="_waku_enr._internal_.RawEnr.html#seq">seq</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/raw_enr.ts#L14">packages/enr/src/raw_enr.ts:14</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><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_enr._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_enr._internal_.IEnr.html#signature">signature</a></p>
|
||||
<p>Inherited from <a href="_waku_enr._internal_.RawEnr.html">RawEnr</a>.<a href="_waku_enr._internal_.RawEnr.html#signature">signature</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/enr/src/enr.ts#L44">packages/enr/src/enr.ts:44</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/raw_enr.ts#L15">packages/enr/src/raw_enr.ts:15</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">"enr:"</span><span class="tsd-signature-symbol"> = "enr:"</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/enr/src/enr.ts#L42">packages/enr/src/enr.ts:42</a></li></ul></aside></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/enr.ts#L34">packages/enr/src/enr.ts:34</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>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><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">
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
|
||||
<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_enr._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_enr._internal_.IEnr.html#id">id</a></p>
|
||||
<p>Inherited from RawEnr.id</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/raw_enr.ts#L33">packages/enr/src/raw_enr.ts:33</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="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">
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
|
||||
<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_enr._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_enr._internal_.IEnr.html#ip">ip</a></p>
|
||||
<p>Inherited from RawEnr.ip</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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/36534af0/packages/enr/src/raw_enr.ts#L48">packages/enr/src/raw_enr.ts:48</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">
|
||||
@ -153,17 +167,19 @@
|
||||
<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_enr._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_enr._internal_.IEnr.html#ip">ip</a></p>
|
||||
<p>Inherited from RawEnr.ip</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/raw_enr.ts#L57">packages/enr/src/raw_enr.ts:57</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="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">
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
|
||||
<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_enr._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_enr._internal_.IEnr.html#ip6">ip6</a></p>
|
||||
<p>Inherited from RawEnr.ip6</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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/36534af0/packages/enr/src/raw_enr.ts#L99">packages/enr/src/raw_enr.ts:99</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">
|
||||
@ -173,27 +189,12 @@
|
||||
<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_enr._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_enr._internal_.IEnr.html#ip6">ip6</a></p>
|
||||
<p>Inherited from RawEnr.ip6</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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">
|
||||
<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_enr.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_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/4eacc39a/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">
|
||||
<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_enr.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_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/4eacc39a/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>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/raw_enr.ts#L108">packages/enr/src/raw_enr.ts:108</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="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">
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
|
||||
<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>
|
||||
@ -206,8 +207,9 @@ address (e.g. <code>dns4</code>, <code>dnsaddr</code>, etc)..</p>
|
||||
</div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Multiaddr</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
||||
<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>
|
||||
<p>Inherited from RawEnr.multiaddrs</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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/36534af0/packages/enr/src/raw_enr.ts#L162">packages/enr/src/raw_enr.ts:162</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>
|
||||
@ -226,8 +228,9 @@ ie, without a peer id.</p>
|
||||
<h5>multiaddrs: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Multiaddr</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<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>
|
||||
<p>Inherited from RawEnr.multiaddrs</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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/36534af0/packages/enr/src/raw_enr.ts#L182">packages/enr/src/raw_enr.ts:182</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="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">
|
||||
@ -236,25 +239,36 @@ ie, without a peer id.</p>
|
||||
<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_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/4eacc39a/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>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/enr.ts#L55">packages/enr/src/enr.ts:55</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="peerInfo" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>peer<wbr/>Info</span><a href="#peerInfo" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-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="peerInfo.peerInfo-1"><span class="tsd-signature-symbol">get</span> peerInfo<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">PeerInfo</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">PeerInfo</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#peerInfo">peerInfo</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/enr.ts#L107">packages/enr/src/enr.ts:107</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="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 tsd-is-inherited">
|
||||
<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_enr._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_enr._internal_.IEnr.html#publicKey">publicKey</a></p>
|
||||
<p>Inherited from RawEnr.publicKey</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/raw_enr.ts#L39">packages/enr/src/raw_enr.ts:39</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="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">
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
|
||||
<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_enr._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_enr._internal_.IEnr.html#tcp">tcp</a></p>
|
||||
<p>Inherited from RawEnr.tcp</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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/36534af0/packages/enr/src/raw_enr.ts#L65">packages/enr/src/raw_enr.ts:65</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">
|
||||
@ -264,17 +278,19 @@ ie, without a peer id.</p>
|
||||
<h5>port: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<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>
|
||||
<p>Inherited from RawEnr.tcp</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/raw_enr.ts#L74">packages/enr/src/raw_enr.ts:74</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="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">
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
|
||||
<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_enr._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_enr._internal_.IEnr.html#tcp6">tcp6</a></p>
|
||||
<p>Inherited from RawEnr.tcp6</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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/36534af0/packages/enr/src/raw_enr.ts#L116">packages/enr/src/raw_enr.ts:116</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">
|
||||
@ -284,17 +300,19 @@ ie, without a peer id.</p>
|
||||
<h5>port: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<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>
|
||||
<p>Inherited from RawEnr.tcp6</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/raw_enr.ts#L125">packages/enr/src/raw_enr.ts:125</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="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">
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
|
||||
<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_enr._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_enr._internal_.IEnr.html#udp">udp</a></p>
|
||||
<p>Inherited from RawEnr.udp</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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/36534af0/packages/enr/src/raw_enr.ts#L82">packages/enr/src/raw_enr.ts:82</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">
|
||||
@ -304,17 +322,19 @@ ie, without a peer id.</p>
|
||||
<h5>port: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<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>
|
||||
<p>Inherited from RawEnr.udp</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/raw_enr.ts#L91">packages/enr/src/raw_enr.ts:91</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="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">
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
|
||||
<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_enr._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_enr._internal_.IEnr.html#udp6">udp6</a></p>
|
||||
<p>Inherited from RawEnr.udp6</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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/36534af0/packages/enr/src/raw_enr.ts#L133">packages/enr/src/raw_enr.ts:133</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">
|
||||
@ -324,19 +344,21 @@ ie, without a peer id.</p>
|
||||
<h5>port: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
||||
<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>
|
||||
<p>Inherited from RawEnr.udp6</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/raw_enr.ts#L142">packages/enr/src/raw_enr.ts:142</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="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">
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
|
||||
<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_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>
|
||||
<p>Inherited from RawEnr.waku2</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/enr/src/enr.ts#L448">packages/enr/src/enr.ts:448</a></li></ul></aside></li>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/raw_enr.ts#L194">packages/enr/src/raw_enr.ts:194</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>
|
||||
@ -348,54 +370,23 @@ ie, without a peer id.</p>
|
||||
<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_enr._internal_.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_enr._internal_.IEnr.html#waku2">waku2</a></p>
|
||||
<p>Inherited from RawEnr.waku2</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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/36534af0/packages/enr/src/raw_enr.ts#L204">packages/enr/src/raw_enr.ts:204</a></li></ul></aside></li></ul></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Methods</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="encode" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>encode</span><a href="#encode" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getAllLocationMultiaddrs" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>get<wbr/>All<wbr/>Location<wbr/>Multiaddrs</span><a href="#getAllLocationMultiaddrs" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-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"><</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><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="getAllLocationMultiaddrs.getAllLocationMultiaddrs-1">get<wbr/>All<wbr/>Location<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="#getAllLocationMultiaddrs.getAllLocationMultiaddrs-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"><</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></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>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Multiaddr</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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><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"><</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">></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"><</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">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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><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"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></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"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/enr/src/enr.ts#L521">packages/enr/src/enr.ts:521</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/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="getFullMultiaddr" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>get<wbr/>Full<wbr/>Multiaddr</span><a href="#getFullMultiaddr" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||
<li class="tsd-signature tsd-anchor-link" id="getFullMultiaddr.getFullMultiaddr-1">get<wbr/>Full<wbr/>Multiaddr<span class="tsd-signature-symbol">(</span>protocol<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"tcp"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp6"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp6"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp4"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp4"</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Multiaddr</span><a href="#getFullMultiaddr.getFullMultiaddr-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-signature tsd-anchor-link" id="getFullMultiaddr.getFullMultiaddr-1">get<wbr/>Full<wbr/>Multiaddr<span class="tsd-signature-symbol">(</span>protocol<span class="tsd-signature-symbol">: </span><a href="../enums/_waku_enr.TransportProtocol.html" class="tsd-signature-type" data-tsd-kind="Enumeration">TransportProtocol</a><span class="tsd-signature-symbol"> | </span><a href="../enums/_waku_enr.TransportProtocolPerIpVersion.html" class="tsd-signature-type" data-tsd-kind="Enumeration">TransportProtocolPerIpVersion</a><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.
|
||||
@ -406,10 +397,10 @@ use <a href="_waku_enr.ENR.html#getFullMultiaddrs">getFullMultiaddrs</a>.</p>
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>protocol: <span class="tsd-signature-type">"tcp"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp6"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp6"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp4"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp4"</span></h5></li></ul></div>
|
||||
<h5>protocol: <a href="../enums/_waku_enr.TransportProtocol.html" class="tsd-signature-type" data-tsd-kind="Enumeration">TransportProtocol</a><span class="tsd-signature-symbol"> | </span><a href="../enums/_waku_enr.TransportProtocolPerIpVersion.html" class="tsd-signature-type" data-tsd-kind="Enumeration">TransportProtocolPerIpVersion</a></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/4eacc39a/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/36534af0/packages/enr/src/enr.ts#L125">packages/enr/src/enr.ts:125</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">
|
||||
@ -420,23 +411,10 @@ use <a href="_waku_enr.ENR.html#getFullMultiaddrs">getFullMultiaddrs</a>.</p>
|
||||
<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_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/4eacc39a/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">
|
||||
<li class="tsd-signature tsd-anchor-link" id="getLocationMultiaddr.getLocationMultiaddr-1">get<wbr/>Location<wbr/>Multiaddr<span class="tsd-signature-symbol">(</span>protocol<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"tcp"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp6"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp6"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp4"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp4"</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Multiaddr</span><a href="#getLocationMultiaddr.getLocationMultiaddr-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>protocol: <span class="tsd-signature-type">"tcp"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp6"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp6"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"udp4"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"tcp4"</span></h5></li></ul></div>
|
||||
<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/4eacc39a/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>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/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 tsd-is-inherited"><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">
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
||||
<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-parameters">
|
||||
@ -448,9 +426,9 @@ use <a href="_waku_enr.ENR.html#getFullMultiaddrs">getFullMultiaddrs</a>.</p>
|
||||
<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 IEnr.set</p>
|
||||
<p>Overrides Map.set</p>
|
||||
<p>Inherited from <a href="_waku_enr._internal_.RawEnr.html">RawEnr</a>.<a href="_waku_enr._internal_.RawEnr.html#set">set</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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/36534af0/packages/enr/src/raw_enr.ts#L27">packages/enr/src/raw_enr.ts:27</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">
|
||||
@ -463,7 +441,7 @@ 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/4eacc39a/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/36534af0/packages/enr/src/enr.ts#L67">packages/enr/src/enr.ts:67</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">
|
||||
@ -478,7 +456,7 @@ use <a href="_waku_enr.ENR.html#getFullMultiaddrs">getFullMultiaddrs</a>.</p>
|
||||
<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"><</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></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/enr/src/enr.ts#L477">packages/enr/src/enr.ts:477</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/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-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">
|
||||
@ -493,7 +471,7 @@ use <a href="_waku_enr.ENR.html#getFullMultiaddrs">getFullMultiaddrs</a>.</p>
|
||||
<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/4eacc39a/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/36534af0/packages/enr/src/enr.ts#L150">packages/enr/src/enr.ts:150</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">
|
||||
@ -510,76 +488,7 @@ use <a href="_waku_enr.ENR.html#getFullMultiaddrs">getFullMultiaddrs</a>.</p>
|
||||
<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"><</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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"><</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-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"><</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">></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>kvs: <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><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></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"><</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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><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"><</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-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"><</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">></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>kvs: <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><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></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"><</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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><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"><</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">></span><a href="#decode.decode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
||||
<li class="tsd-description">
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<h5>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"><</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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><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"><</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">></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"><</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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><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"><</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">></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"><</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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/36534af0/packages/enr/src/enr.ts#L37">packages/enr/src/enr.ts:37</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">
|
||||
@ -692,40 +601,32 @@ use <a href="_waku_enr.ENR.html#getFullMultiaddrs">getFullMultiaddrs</a>.</p>
|
||||
<ul>
|
||||
<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-constructor tsd-parent-kind-class tsd-is-protected tsd-is-inherited"><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"><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-1024-path"></use><use href="#icon-1024-text"></use></svg>get<wbr/>Location<wbr/>Multiaddr</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"><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 tsd-is-inherited"><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"><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-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>
|
||||
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="_waku_enr.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_enr.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_enr.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 tsd-is-inherited"><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 tsd-is-inherited"><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 tsd-is-inherited"><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>
|
||||
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><a href="_waku_enr.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_enr.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_enr.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_enr.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_enr.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_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"><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-accessor tsd-parent-kind-class"><a href="_waku_enr.ENR.html#peerInfo" 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>peer<wbr/>Info</a></li>
|
||||
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><a href="_waku_enr.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 tsd-is-inherited"><a href="_waku_enr.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 tsd-is-inherited"><a href="_waku_enr.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 tsd-is-inherited"><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 tsd-is-inherited"><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 tsd-is-inherited"><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"><a href="_waku_enr.ENR.html#getAllLocationMultiaddrs" 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/>All<wbr/>Location<wbr/>Multiaddrs</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"><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 tsd-is-inherited"><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"><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>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_enr.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_enr.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_enr.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_enr.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>
|
||||
<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></ul></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
||||
@ -1,4 +1,4 @@
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>IKeypair | @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">
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>EnrCreator | @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>
|
||||
@ -14,78 +14,68 @@
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">@waku/root</a></li>
|
||||
<li><a href="../modules/_waku_enr.html">@waku/enr</a></li>
|
||||
<li><a href="_waku_enr.IKeypair.html">IKeypair</a></li></ul>
|
||||
<h1>Interface IKeypair</h1></div>
|
||||
<li><a href="_waku_enr.EnrCreator.html">EnrCreator</a></li></ul>
|
||||
<h1>Class EnrCreator</h1></div>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">IKeypair</span></li></ul></section>
|
||||
<section class="tsd-panel">
|
||||
<h4>Implemented by</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><a href="../classes/_waku_enr.Secp256k1Keypair.html" class="tsd-signature-type" data-tsd-kind="Class">Secp256k1Keypair</a></li></ul></section><aside class="tsd-sources">
|
||||
<li><span class="target">EnrCreator</span></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/enr/src/keypair/types.ts#L7">packages/enr/src/keypair/types.ts:7</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/creator.ts#L9">packages/enr/src/creator.ts:9</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
||||
<h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Properties</h3>
|
||||
<div class="tsd-index-list"><a href="_waku_enr.IKeypair.html#privateKey" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>private<wbr/>Key</span></a>
|
||||
<a href="_waku_enr.IKeypair.html#publicKey" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>public<wbr/>Key</span></a>
|
||||
<a href="_waku_enr.IKeypair.html#type" class="tsd-index-link tsd-kind-property tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>type</span></a>
|
||||
<h3 class="tsd-index-heading">Constructors</h3>
|
||||
<div class="tsd-index-list"><a href="_waku_enr.EnrCreator.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">Methods</h3>
|
||||
<div class="tsd-index-list"><a href="_waku_enr.IKeypair.html#hasPrivateKey" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>has<wbr/>Private<wbr/>Key</span></a>
|
||||
<a href="_waku_enr.IKeypair.html#privateKeyVerify" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>private<wbr/>Key<wbr/>Verify</span></a>
|
||||
<a href="_waku_enr.IKeypair.html#publicKeyVerify" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>public<wbr/>Key<wbr/>Verify</span></a>
|
||||
<div class="tsd-index-list"><a href="_waku_enr.EnrCreator.html#fromPeerId" 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/>Peer<wbr/>Id</span></a>
|
||||
<a href="_waku_enr.EnrCreator.html#fromPublicKey" 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/>Public<wbr/>Key</span></a>
|
||||
</div></section></div></details></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Properties</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="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"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<div class="tsd-signature">private<wbr/>Key<span class="tsd-signature-symbol">:</span> <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/4eacc39a/packages/enr/src/keypair/types.ts#L9">packages/enr/src/keypair/types.ts:9</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="publicKey" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>public<wbr/>Key</span><a href="#publicKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">public<wbr/>Key<span class="tsd-signature-symbol">:</span> <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/4eacc39a/packages/enr/src/keypair/types.ts#L10">packages/enr/src/keypair/types.ts:10</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="type" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>type</span><a href="#type" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">type<span class="tsd-signature-symbol">:</span> <a href="../enums/_waku_enr.KeypairType.html" class="tsd-signature-type" data-tsd-kind="Enumeration">KeypairType</a></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/enr/src/keypair/types.ts#L8">packages/enr/src/keypair/types.ts:8</a></li></ul></aside></section></section>
|
||||
<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_EnrCreator">new <wbr/>Enr<wbr/>Creator<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_waku_enr.EnrCreator.html" class="tsd-signature-type" data-tsd-kind="Class">EnrCreator</a><a href="#constructor.new_EnrCreator" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="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_enr.EnrCreator.html" class="tsd-signature-type" data-tsd-kind="Class">EnrCreator</a></h4></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-interface"><a id="hasPrivateKey" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>has<wbr/>Private<wbr/>Key</span><a href="#hasPrivateKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
||||
<li class="tsd-signature tsd-anchor-link" id="hasPrivateKey.hasPrivateKey-1">has<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">boolean</span><a href="#hasPrivateKey.hasPrivateKey-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>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="fromPeerId" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>from<wbr/>Peer<wbr/>Id</span><a href="#fromPeerId" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-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="fromPeerId.fromPeerId-1">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"><</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-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"><</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">></span><a href="#fromPeerId.fromPeerId-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">
|
||||
<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>kvs: <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><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></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"><</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/enr/src/keypair/types.ts#L13">packages/enr/src/keypair/types.ts:13</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="privateKeyVerify" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>private<wbr/>Key<wbr/>Verify</span><a href="#privateKeyVerify" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
||||
<li class="tsd-signature tsd-anchor-link" id="privateKeyVerify.privateKeyVerify-1">private<wbr/>Key<wbr/>Verify<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="#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>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/creator.ts#L25">packages/enr/src/creator.ts:25</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="fromPublicKey" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>from<wbr/>Public<wbr/>Key</span><a href="#fromPublicKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-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="fromPublicKey.fromPublicKey-1">from<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>, kvs<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><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"><</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">></span><a href="#fromPublicKey.fromPublicKey-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">
|
||||
<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>kvs: <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><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></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"><</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/enr/src/keypair/types.ts#L11">packages/enr/src/keypair/types.ts:11</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="publicKeyVerify" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>public<wbr/>Key<wbr/>Verify</span><a href="#publicKeyVerify" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
||||
<li class="tsd-signature tsd-anchor-link" id="publicKeyVerify.publicKeyVerify-1">public<wbr/>Key<wbr/>Verify<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="#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">
|
||||
<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/4eacc39a/packages/enr/src/keypair/types.ts#L12">packages/enr/src/keypair/types.ts:12</a></li></ul></aside></li></ul></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/creator.ts#L10">packages/enr/src/creator.ts:10</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">
|
||||
@ -196,14 +186,11 @@
|
||||
<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-interface tsd-parent-kind-module"><a href="_waku_enr.IKeypair.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>IKeypair</span></a>
|
||||
<li class="current tsd-kind-class tsd-parent-kind-module"><a href="_waku_enr.EnrCreator.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<wbr/>Creator</span></a>
|
||||
<ul>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="_waku_enr.IKeypair.html#privateKey" 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<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="_waku_enr.IKeypair.html#publicKey" 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>public<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="_waku_enr.IKeypair.html#type" 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>type</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="_waku_enr.IKeypair.html#hasPrivateKey" 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<wbr/>Private<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="_waku_enr.IKeypair.html#privateKeyVerify" 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>private<wbr/>Key<wbr/>Verify</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="_waku_enr.IKeypair.html#publicKeyVerify" 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>public<wbr/>Key<wbr/>Verify</a></li></ul></li></ul></nav></div></div>
|
||||
<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="_waku_enr.EnrCreator.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-method tsd-parent-kind-class"><a href="_waku_enr.EnrCreator.html#fromPeerId" 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/>Peer<wbr/>Id</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_enr.EnrCreator.html#fromPublicKey" 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/>Public<wbr/>Key</a></li></ul></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
||||
@ -1,4 +1,4 @@
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>createKeypair | @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">
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>EnrDecoder | @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>
|
||||
@ -14,24 +14,64 @@
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">@waku/root</a></li>
|
||||
<li><a href="../modules/_waku_enr.html">@waku/enr</a></li>
|
||||
<li><a href="_waku_enr.createKeypair.html">createKeypair</a></li></ul>
|
||||
<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><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><a href="_waku_enr.EnrDecoder.html">EnrDecoder</a></li></ul>
|
||||
<h1>Class EnrDecoder</h1></div>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">EnrDecoder</span></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/decoder.ts#L9">packages/enr/src/decoder.ts:9</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
||||
<h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Constructors</h3>
|
||||
<div class="tsd-index-list"><a href="_waku_enr.EnrDecoder.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">Methods</h3>
|
||||
<div class="tsd-index-list"><a href="_waku_enr.EnrDecoder.html#fromRLP" 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>fromRLP</span></a>
|
||||
<a href="_waku_enr.EnrDecoder.html#fromString" 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/>String</span></a>
|
||||
</div></section></div></details></section></section>
|
||||
<section class="tsd-panel-group tsd-member-group">
|
||||
<h2>Constructors</h2>
|
||||
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class"><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_EnrDecoder">new <wbr/>Enr<wbr/>Decoder<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_waku_enr.EnrDecoder.html" class="tsd-signature-type" data-tsd-kind="Class">EnrDecoder</a><a href="#constructor.new_EnrDecoder" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="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_enr.EnrDecoder.html" class="tsd-signature-type" data-tsd-kind="Class">EnrDecoder</a></h4></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="fromRLP" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>fromRLP</span><a href="#fromRLP" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-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="fromRLP.fromRLP-1">fromRLP<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"><</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">></span><a href="#fromRLP.fromRLP-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: <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: <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: <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">
|
||||
<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"><</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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/36534af0/packages/enr/src/decoder.ts#L19">packages/enr/src/decoder.ts:19</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="fromString" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>from<wbr/>String</span><a href="#fromString" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-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="fromString.fromString-1">from<wbr/>String<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"><</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">></span><a href="#fromString.fromString-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"><</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/decoder.ts#L10">packages/enr/src/decoder.ts:10</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">
|
||||
@ -142,26 +182,11 @@
|
||||
<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-enum tsd-parent-kind-module"><a href="../enums/_waku_enr.KeypairType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-8-path"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)" id="icon-8-text"></path></svg>Keypair<wbr/>Type</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_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>ENR</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_waku_enr.Secp256k1Keypair.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>Secp256k1<wbr/>Keypair</a></li>
|
||||
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/_waku_enr.IKeypair.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg>IKeypair</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.ERR_INVALID_ID.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>ERR_<wbr/>INVALID_<wbr/>ID</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.ERR_NO_SIGNATURE.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>ERR_<wbr/>NO_<wbr/>SIGNATURE</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.ERR_TYPE_NOT_IMPLEMENTED.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>ERR_<wbr/>TYPE_<wbr/>NOT_<wbr/>IMPLEMENTED</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.MAX_RECORD_SIZE.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>MAX_<wbr/>RECORD_<wbr/>SIZE</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.MULTIADDR_LENGTH_SIZE.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>MULTIADDR_<wbr/>LENGTH_<wbr/>SIZE</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.compressPublicKey.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>compress<wbr/>Public<wbr/>Key</a></li>
|
||||
<li class="current tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createKeypair.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>create<wbr/>Keypair</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createKeypairFromPeerId.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>create<wbr/>Keypair<wbr/>From<wbr/>Peer<wbr/>Id</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createPeerIdFromKeypair.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>create<wbr/>Peer<wbr/>Id<wbr/>From<wbr/>Keypair</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.decodeWaku2.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<wbr/>Waku2</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.encodeWaku2.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<wbr/>Waku2</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.getPublicKey.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>get<wbr/>Public<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.keccak256.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>keccak256</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.randomBytes.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>random<wbr/>Bytes</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.sign.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>sign</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.verifySignature.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>verify<wbr/>Signature</a></li></ul></nav></div></div>
|
||||
<li class="current tsd-kind-class tsd-parent-kind-module"><a href="_waku_enr.EnrDecoder.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<wbr/>Decoder</span></a>
|
||||
<ul>
|
||||
<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="_waku_enr.EnrDecoder.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-method tsd-parent-kind-class"><a href="_waku_enr.EnrDecoder.html#fromRLP" 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>fromRLP</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_enr.EnrDecoder.html#fromString" 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/>String</a></li></ul></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
||||
@ -1,282 +0,0 @@
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Secp256k1Keypair | @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_enr.html">@waku/enr</a></li>
|
||||
<li><a href="_waku_enr.Secp256k1Keypair.html">Secp256k1Keypair</a></li></ul>
|
||||
<h1>Class Secp256k1Keypair</h1></div>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h4>Hierarchy</h4>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">Secp256k1Keypair</span></li></ul></section>
|
||||
<section class="tsd-panel">
|
||||
<h4>Implements</h4>
|
||||
<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/4eacc39a/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">
|
||||
<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_enr.Secp256k1Keypair.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_enr.Secp256k1Keypair.html#_privateKey" 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>_private<wbr/>Key?</span></a>
|
||||
<a href="_waku_enr.Secp256k1Keypair.html#_publicKey" 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>_public<wbr/>Key?</span></a>
|
||||
<a href="_waku_enr.Secp256k1Keypair.html#type" 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>type</span></a>
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Accessors</h3>
|
||||
<div class="tsd-index-list"><a href="_waku_enr.Secp256k1Keypair.html#privateKey" 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>private<wbr/>Key</span></a>
|
||||
<a href="_waku_enr.Secp256k1Keypair.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>
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Methods</h3>
|
||||
<div class="tsd-index-list"><a href="_waku_enr.Secp256k1Keypair.html#hasPrivateKey" 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>has<wbr/>Private<wbr/>Key</span></a>
|
||||
<a href="_waku_enr.Secp256k1Keypair.html#privateKeyVerify" 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>private<wbr/>Key<wbr/>Verify</span></a>
|
||||
<a href="_waku_enr.Secp256k1Keypair.html#publicKeyVerify" 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>public<wbr/>Key<wbr/>Verify</span></a>
|
||||
<a href="_waku_enr.Secp256k1Keypair.html#generate" 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>generate</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_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: <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: <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/4eacc39a/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> <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/4eacc39a/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> <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/4eacc39a/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/4eacc39a/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><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 <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/4eacc39a/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><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 <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/4eacc39a/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>
|
||||
<h3 class="tsd-anchor-link"><span>has<wbr/>Private<wbr/>Key</span><a href="#hasPrivateKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-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="hasPrivateKey.hasPrivateKey-1">has<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">boolean</span><a href="#hasPrivateKey.hasPrivateKey-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_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/4eacc39a/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><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><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/4eacc39a/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><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><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/4eacc39a/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><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"><</span><a href="_waku_enr.Secp256k1Keypair.html" class="tsd-signature-type" data-tsd-kind="Class">Secp256k1Keypair</a><span class="tsd-signature-symbol">></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 <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"><</span><a href="_waku_enr.Secp256k1Keypair.html" class="tsd-signature-type" data-tsd-kind="Class">Secp256k1Keypair</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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">
|
||||
<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"><internal></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"><internal></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"><internal></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"><internal></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"><internal></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"><internal></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.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.FilterRpc.html">Filter<wbr/>Rpc</a></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.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.PushRpc.html">Push<wbr/>Rpc</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.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.HistoryRpc.html">History<wbr/>Rpc</a></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_enr.Secp256k1Keypair.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg><span>Secp256k1<wbr/>Keypair</span></a>
|
||||
<ul>
|
||||
<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="_waku_enr.Secp256k1Keypair.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_enr.Secp256k1Keypair.html#_privateKey" 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<wbr/>Key?</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="_waku_enr.Secp256k1Keypair.html#_publicKey" 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>_public<wbr/>Key?</a></li>
|
||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="_waku_enr.Secp256k1Keypair.html#type" 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>type</a></li>
|
||||
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="_waku_enr.Secp256k1Keypair.html#privateKey" 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>private<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="_waku_enr.Secp256k1Keypair.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-method tsd-parent-kind-class"><a href="_waku_enr.Secp256k1Keypair.html#hasPrivateKey" 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<wbr/>Private<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_enr.Secp256k1Keypair.html#privateKeyVerify" 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>private<wbr/>Key<wbr/>Verify</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_enr.Secp256k1Keypair.html#publicKeyVerify" 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>public<wbr/>Key<wbr/>Verify</a></li>
|
||||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_enr.Secp256k1Keypair.html#generate" 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>generate</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>
|
||||
422
classes/_waku_enr._internal_.RawEnr.html
Normal file
422
classes/_waku_enr._internal_.RawEnr.html
Normal file
@ -0,0 +1,422 @@
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>RawEnr | @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_enr.html">@waku/enr</a></li>
|
||||
<li><a href="../modules/_waku_enr._internal_.html"><internal></a></li>
|
||||
<li><a href="_waku_enr._internal_.RawEnr.html">RawEnr</a></li></ul>
|
||||
<h1>Class RawEnr</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"><</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">></span>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><span class="target">RawEnr</span>
|
||||
<ul class="tsd-hierarchy">
|
||||
<li><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a></li></ul></li></ul></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/raw_enr.ts#L13">packages/enr/src/raw_enr.ts:13</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
||||
<h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Constructors</h3>
|
||||
<div class="tsd-index-list"><a href="_waku_enr._internal_.RawEnr.html#constructor" class="tsd-index-link tsd-kind-constructor 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="#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_enr._internal_.RawEnr.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"><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>seq</span></a>
|
||||
<a href="_waku_enr._internal_.RawEnr.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>
|
||||
</div></section>
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Accessors</h3>
|
||||
<div class="tsd-index-list"><a href="_waku_enr._internal_.RawEnr.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_enr._internal_.RawEnr.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_enr._internal_.RawEnr.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_enr._internal_.RawEnr.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_enr._internal_.RawEnr.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_enr._internal_.RawEnr.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_enr._internal_.RawEnr.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_enr._internal_.RawEnr.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_enr._internal_.RawEnr.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_enr._internal_.RawEnr.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_enr._internal_.RawEnr.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"><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>set</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-protected"><a id="constructor" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</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-protected">
|
||||
<li class="tsd-signature tsd-anchor-link" id="constructor.new_RawEnr">new <wbr/>Raw<wbr/>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"><</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>, 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._internal_.RawEnr.html" class="tsd-signature-type" data-tsd-kind="Class">RawEnr</a><a href="#constructor.new_RawEnr" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="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"><</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-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: <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._internal_.RawEnr.html" class="tsd-signature-type" data-tsd-kind="Class">RawEnr</a></h4><aside class="tsd-sources">
|
||||
<p>Overrides Map<ENRKey, ENRValue>.constructor</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/raw_enr.ts#L17">packages/enr/src/raw_enr.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="seq" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>seq</span><a href="#seq" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">seq<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">bigint</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/raw_enr.ts#L14">packages/enr/src/raw_enr.ts:14</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> <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/36534af0/packages/enr/src/raw_enr.ts#L15">packages/enr/src/raw_enr.ts:15</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>
|
||||
<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">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/raw_enr.ts#L33">packages/enr/src/raw_enr.ts:33</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">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/raw_enr.ts#L48">packages/enr/src/raw_enr.ts:48</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">
|
||||
<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">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/raw_enr.ts#L57">packages/enr/src/raw_enr.ts:57</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">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/raw_enr.ts#L99">packages/enr/src/raw_enr.ts:99</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">
|
||||
<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">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/raw_enr.ts#L108">packages/enr/src/raw_enr.ts:108</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">
|
||||
<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_enr.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">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/raw_enr.ts#L162">packages/enr/src/raw_enr.ts:162</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>
|
||||
<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_enr.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">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/raw_enr.ts#L182">packages/enr/src/raw_enr.ts:182</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="publicKey" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>public<wbr/>Key</span><a href="#publicKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
||||
<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">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/raw_enr.ts#L39">packages/enr/src/raw_enr.ts:39</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">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/raw_enr.ts#L65">packages/enr/src/raw_enr.ts:65</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">
|
||||
<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">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/raw_enr.ts#L74">packages/enr/src/raw_enr.ts:74</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">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/raw_enr.ts#L116">packages/enr/src/raw_enr.ts:116</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">
|
||||
<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">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/raw_enr.ts#L125">packages/enr/src/raw_enr.ts:125</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">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/raw_enr.ts#L82">packages/enr/src/raw_enr.ts:82</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">
|
||||
<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">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/raw_enr.ts#L91">packages/enr/src/raw_enr.ts:91</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">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/raw_enr.ts#L133">packages/enr/src/raw_enr.ts:133</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">
|
||||
<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">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/raw_enr.ts#L142">packages/enr/src/raw_enr.ts:142</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_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_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/36534af0/packages/enr/src/raw_enr.ts#L194">packages/enr/src/raw_enr.ts:194</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>
|
||||
<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_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">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/raw_enr.ts#L204">packages/enr/src/raw_enr.ts:204</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="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_enr._internal_.RawEnr.html" class="tsd-signature-type" data-tsd-kind="Class">RawEnr</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_enr._internal_.RawEnr.html" class="tsd-signature-type" data-tsd-kind="Class">RawEnr</a></h4><aside class="tsd-sources">
|
||||
<p>Overrides Map.set</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/raw_enr.ts#L27">packages/enr/src/raw_enr.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">
|
||||
<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"><internal></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"><internal></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"><internal></a></li></ul></li>
|
||||
<li class="current tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
|
||||
<ul>
|
||||
<li class="current tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_enr._internal_.html"><internal></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"><internal></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"><internal></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.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.FilterRpc.html">Filter<wbr/>Rpc</a></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.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.PushRpc.html">Push<wbr/>Rpc</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.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.HistoryRpc.html">History<wbr/>Rpc</a></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_enr._internal_.RawEnr.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>Raw<wbr/>Enr</span></a>
|
||||
<ul>
|
||||
<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-protected"><a href="_waku_enr._internal_.RawEnr.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_enr._internal_.RawEnr.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._internal_.RawEnr.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-accessor tsd-parent-kind-class"><a href="_waku_enr._internal_.RawEnr.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._internal_.RawEnr.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._internal_.RawEnr.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_enr._internal_.RawEnr.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_enr._internal_.RawEnr.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_enr._internal_.RawEnr.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_enr._internal_.RawEnr.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_enr._internal_.RawEnr.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._internal_.RawEnr.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._internal_.RawEnr.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_enr._internal_.RawEnr.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></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>
|
||||
@ -27,7 +27,7 @@
|
||||
<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 <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/message-encryption/src/decoded_message.ts#L7">packages/message-encryption/src/decoded_message.ts:7</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/message-encryption/src/decoded_message.ts#L7">packages/message-encryption/src/decoded_message.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">
|
||||
@ -75,14 +75,14 @@
|
||||
<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_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/4eacc39a/packages/message-encryption/src/decoded_message.ts#L13">packages/message-encryption/src/decoded_message.ts:13</a></li></ul></aside></li></ul></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/message-encryption/src/decoded_message.ts#L13">packages/message-encryption/src/decoded_message.ts:13</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> <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/4eacc39a/packages/message-encryption/src/decoded_message.ts#L11">packages/message-encryption/src/decoded_message.ts:11</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/message-encryption/src/decoded_message.ts#L11">packages/message-encryption/src/decoded_message.ts:11</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="../interfaces/_waku_message_encryption._internal_.WakuMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuMessage</a></div><aside class="tsd-sources">
|
||||
@ -93,12 +93,12 @@
|
||||
<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">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/message-encryption/src/decoded_message.ts#L16">packages/message-encryption/src/decoded_message.ts:16</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/message-encryption/src/decoded_message.ts#L16">packages/message-encryption/src/decoded_message.ts:16</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> <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/4eacc39a/packages/message-encryption/src/decoded_message.ts#L17">packages/message-encryption/src/decoded_message.ts:17</a></li></ul></aside></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/message-encryption/src/decoded_message.ts#L17">packages/message-encryption/src/decoded_message.ts:17</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="_rawTimestamp" class="tsd-anchor"></a>
|
||||
@ -139,7 +139,7 @@
|
||||
<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/4eacc39a/packages/message-encryption/src/decoded_message.ts#L23">packages/message-encryption/src/decoded_message.ts:23</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/message-encryption/src/decoded_message.ts#L23">packages/message-encryption/src/decoded_message.ts:23</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">
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
<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"><</span><a href="_waku_message_encryption.DecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Class">DecodedMessage</a><span class="tsd-signature-symbol">></span></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/message-encryption/src/ecies.ts#L92">packages/message-encryption/src/ecies.ts:92</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/message-encryption/src/ecies.ts#L92">packages/message-encryption/src/ecies.ts:92</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">
|
||||
@ -65,7 +65,7 @@
|
||||
<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 <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/4eacc39a/packages/message-encryption/src/ecies.ts#L93">packages/message-encryption/src/ecies.ts:93</a></li></ul></aside></li></ul></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/message-encryption/src/ecies.ts#L93">packages/message-encryption/src/ecies.ts:93</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>
|
||||
@ -79,7 +79,7 @@
|
||||
<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> <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/4eacc39a/packages/message-encryption/src/ecies.ts#L93">packages/message-encryption/src/ecies.ts:93</a></li></ul></aside></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/message-encryption/src/ecies.ts#L93">packages/message-encryption/src/ecies.ts:93</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>
|
||||
@ -96,7 +96,7 @@
|
||||
<p>Implementation of IDecoder.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/4eacc39a/packages/message-encryption/src/ecies.ts#L97">packages/message-encryption/src/ecies.ts:97</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/message-encryption/src/ecies.ts#L97">packages/message-encryption/src/ecies.ts:97</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">
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
<ul class="tsd-hierarchy">
|
||||
<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/4eacc39a/packages/message-encryption/src/ecies.ts#L32">packages/message-encryption/src/ecies.ts:32</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/message-encryption/src/ecies.ts#L32">packages/message-encryption/src/ecies.ts:32</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
||||
@ -68,7 +68,7 @@
|
||||
<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/4eacc39a/packages/message-encryption/src/ecies.ts#L33">packages/message-encryption/src/ecies.ts:33</a></li></ul></aside></li></ul></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/message-encryption/src/ecies.ts#L33">packages/message-encryption/src/ecies.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"><a id="contentTopic" class="tsd-anchor"></a>
|
||||
@ -76,23 +76,23 @@
|
||||
<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_.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/4eacc39a/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/36534af0/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"><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_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/4eacc39a/packages/message-encryption/src/ecies.ts#L37">packages/message-encryption/src/ecies.ts:37</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/message-encryption/src/ecies.ts#L37">packages/message-encryption/src/ecies.ts:37</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> <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/4eacc39a/packages/message-encryption/src/ecies.ts#L35">packages/message-encryption/src/ecies.ts:35</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/message-encryption/src/ecies.ts#L35">packages/message-encryption/src/ecies.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> <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/4eacc39a/packages/message-encryption/src/ecies.ts#L36">packages/message-encryption/src/ecies.ts:36</a></li></ul></aside></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/message-encryption/src/ecies.ts#L36">packages/message-encryption/src/ecies.ts:36</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>
|
||||
@ -108,7 +108,7 @@
|
||||
<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"><</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">></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/4eacc39a/packages/message-encryption/src/ecies.ts#L47">packages/message-encryption/src/ecies.ts:47</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/message-encryption/src/ecies.ts#L47">packages/message-encryption/src/ecies.ts:47</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">
|
||||
@ -122,7 +122,7 @@
|
||||
<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"><</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></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/4eacc39a/packages/message-encryption/src/ecies.ts#L40">packages/message-encryption/src/ecies.ts:40</a></li></ul></aside></li></ul></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/message-encryption/src/ecies.ts#L40">packages/message-encryption/src/ecies.ts:40</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">
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
<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"><</span><a href="_waku_message_encryption.DecodedMessage.html" class="tsd-signature-type" data-tsd-kind="Class">DecodedMessage</a><span class="tsd-signature-symbol">></span></li></ul></section><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/message-encryption/src/symmetric.ts#L87">packages/message-encryption/src/symmetric.ts:87</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/message-encryption/src/symmetric.ts#L87">packages/message-encryption/src/symmetric.ts:87</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">
|
||||
@ -65,7 +65,7 @@
|
||||
<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 <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/4eacc39a/packages/message-encryption/src/symmetric.ts#L88">packages/message-encryption/src/symmetric.ts:88</a></li></ul></aside></li></ul></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/message-encryption/src/symmetric.ts#L88">packages/message-encryption/src/symmetric.ts:88</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>
|
||||
@ -79,7 +79,7 @@
|
||||
<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> <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/4eacc39a/packages/message-encryption/src/symmetric.ts#L88">packages/message-encryption/src/symmetric.ts:88</a></li></ul></aside></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/message-encryption/src/symmetric.ts#L88">packages/message-encryption/src/symmetric.ts:88</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>
|
||||
@ -96,7 +96,7 @@
|
||||
<p>Implementation of IDecoder.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/4eacc39a/packages/message-encryption/src/symmetric.ts#L92">packages/message-encryption/src/symmetric.ts:92</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/message-encryption/src/symmetric.ts#L92">packages/message-encryption/src/symmetric.ts:92</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">
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
<ul class="tsd-hierarchy">
|
||||
<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/4eacc39a/packages/message-encryption/src/symmetric.ts#L27">packages/message-encryption/src/symmetric.ts:27</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/message-encryption/src/symmetric.ts#L27">packages/message-encryption/src/symmetric.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">
|
||||
@ -68,7 +68,7 @@
|
||||
<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/4eacc39a/packages/message-encryption/src/symmetric.ts#L28">packages/message-encryption/src/symmetric.ts:28</a></li></ul></aside></li></ul></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/message-encryption/src/symmetric.ts#L28">packages/message-encryption/src/symmetric.ts:28</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>
|
||||
@ -76,23 +76,23 @@
|
||||
<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_.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/4eacc39a/packages/message-encryption/src/symmetric.ts#L29">packages/message-encryption/src/symmetric.ts:29</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/message-encryption/src/symmetric.ts#L29">packages/message-encryption/src/symmetric.ts:29</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_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/4eacc39a/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/36534af0/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 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> <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/4eacc39a/packages/message-encryption/src/symmetric.ts#L31">packages/message-encryption/src/symmetric.ts:31</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/message-encryption/src/symmetric.ts#L31">packages/message-encryption/src/symmetric.ts:31</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> <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/4eacc39a/packages/message-encryption/src/symmetric.ts#L30">packages/message-encryption/src/symmetric.ts:30</a></li></ul></aside></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/message-encryption/src/symmetric.ts#L30">packages/message-encryption/src/symmetric.ts:30</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>
|
||||
@ -108,7 +108,7 @@
|
||||
<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"><</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">></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/4eacc39a/packages/message-encryption/src/symmetric.ts#L42">packages/message-encryption/src/symmetric.ts:42</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/message-encryption/src/symmetric.ts#L42">packages/message-encryption/src/symmetric.ts:42</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">
|
||||
@ -122,7 +122,7 @@
|
||||
<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"><</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></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/4eacc39a/packages/message-encryption/src/symmetric.ts#L35">packages/message-encryption/src/symmetric.ts:35</a></li></ul></aside></li></ul></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/message-encryption/src/symmetric.ts#L35">packages/message-encryption/src/symmetric.ts:35</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">
|
||||
|
||||
@ -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/4eacc39a/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L55">packages/peer-exchange/src/waku_peer_exchange_discovery.ts:55</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/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">
|
||||
@ -77,39 +77,39 @@
|
||||
<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<PeerDiscoveryEvents>.constructor</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/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"><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_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/4eacc39a/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/36534af0/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/4eacc39a/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>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/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/4eacc39a/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/36534af0/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/4eacc39a/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>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/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> <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"><</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">></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/4eacc39a/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>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/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> <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"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/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>
|
||||
@ -118,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@6757</p>
|
||||
<p>Implementation of PeerDiscovery.__@symbol@6767</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/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@5826</p>
|
||||
<p>Implementation of PeerDiscovery.__@toStringTag@5829</p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/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>
|
||||
@ -144,7 +144,7 @@
|
||||
<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/4eacc39a/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L206">packages/peer-exchange/src/waku_peer_exchange_discovery.ts:206</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L204">packages/peer-exchange/src/waku_peer_exchange_discovery.ts:204</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">
|
||||
@ -157,7 +157,7 @@
|
||||
<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"><</span><span class="tsd-signature-type">PeerProtocolsChangeData</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/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">
|
||||
@ -170,7 +170,7 @@
|
||||
<h5>peerId: <span class="tsd-signature-type">PeerId</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/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">
|
||||
@ -180,7 +180,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/4eacc39a/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>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/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">
|
||||
@ -193,7 +193,7 @@
|
||||
<h5>peerId: <span class="tsd-signature-type">PeerId</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/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">
|
||||
@ -203,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/4eacc39a/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>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/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">
|
||||
|
||||
@ -30,7 +30,7 @@
|
||||
<ul class="tsd-hierarchy">
|
||||
<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/4eacc39a/packages/peer-exchange/src/waku_peer_exchange.ts#L34">packages/peer-exchange/src/waku_peer_exchange.ts:34</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/peer-exchange/src/waku_peer_exchange.ts#L34">packages/peer-exchange/src/waku_peer_exchange.ts:34</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
||||
@ -73,21 +73,21 @@
|
||||
<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">
|
||||
<p>Overrides <a href="_waku_peer_exchange._internal_.BaseProtocol.html">BaseProtocol</a>.<a href="_waku_peer_exchange._internal_.BaseProtocol.html#constructor">constructor</a></p>
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/peer-exchange/src/waku_peer_exchange.ts#L42">packages/peer-exchange/src/waku_peer_exchange.ts:42</a></li></ul></aside></li></ul></section></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/peer-exchange/src/waku_peer_exchange.ts#L42">packages/peer-exchange/src/waku_peer_exchange.ts:42</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_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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/peer-exchange/src/waku_peer_exchange.ts#L35">packages/peer-exchange/src/waku_peer_exchange.ts:35</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/peer-exchange/src/waku_peer_exchange.ts#L35">packages/peer-exchange/src/waku_peer_exchange.ts:35</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_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/4eacc39a/packages/peer-exchange/src/waku_peer_exchange.ts#L42">packages/peer-exchange/src/waku_peer_exchange.ts:42</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/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 tsd-is-protected tsd-is-inherited"><a id="getConnections" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>get<wbr/>Connections</span><a href="#getConnections" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">get<wbr/>Connections<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><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">Connection</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span></div>
|
||||
@ -151,7 +151,7 @@
|
||||
<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/4eacc39a/packages/peer-exchange/src/waku_peer_exchange.ts#L86">packages/peer-exchange/src/waku_peer_exchange.ts:86</a></li></ul></aside></li></ul></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/peer-exchange/src/waku_peer_exchange.ts#L86">packages/peer-exchange/src/waku_peer_exchange.ts:86</a></li></ul></aside></li></ul></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-protected tsd-is-inherited"><a id="newStream" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</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-protected tsd-is-inherited">
|
||||
@ -208,7 +208,7 @@ peers.</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<p>Implementation of <a href="../interfaces/_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/4eacc39a/packages/peer-exchange/src/waku_peer_exchange.ts#L58">packages/peer-exchange/src/waku_peer_exchange.ts:58</a></li></ul></aside></li></ul></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/peer-exchange/src/waku_peer_exchange.ts#L58">packages/peer-exchange/src/waku_peer_exchange.ts:58</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">
|
||||
|
||||
@ -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/4eacc39a/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/36534af0/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">"backward"</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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/36534af0/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">"forward"</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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/36534af0/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">
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>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">
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>TransportProtocol | @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>
|
||||
@ -15,10 +15,10 @@
|
||||
<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"><internal></a></li>
|
||||
<li><a href="_waku_dns_discovery._internal_.KeypairType.html">KeypairType</a></li></ul>
|
||||
<h1>Enumeration KeypairType</h1></div><aside class="tsd-sources">
|
||||
<li><a href="_waku_dns_discovery._internal_.TransportProtocol.html">TransportProtocol</a></li></ul>
|
||||
<h1>Enumeration TransportProtocol</h1></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/keypair/types.d.ts:1</li></ul></aside>
|
||||
<li>Defined in packages/enr/dist/enr.d.ts:6</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">
|
||||
@ -26,27 +26,21 @@
|
||||
<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 class="tsd-index-list"><a href="_waku_dns_discovery._internal_.TransportProtocol.html#TCP" 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>TCP</span></a>
|
||||
<a href="_waku_dns_discovery._internal_.TransportProtocol.html#UDP" 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>UDP</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">
|
||||
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><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"><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">TCP<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"tcp"</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">
|
||||
<li>Defined in packages/enr/dist/enr.d.ts:7</li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><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>
|
||||
<div class="tsd-signature">UDP<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"udp"</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>
|
||||
<li>Defined in packages/enr/dist/enr.d.ts:8</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">
|
||||
@ -157,11 +151,10 @@
|
||||
<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>
|
||||
<li class="current tsd-kind-enum tsd-parent-kind-module"><a href="_waku_dns_discovery._internal_.TransportProtocol.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>Transport<wbr/>Protocol</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>
|
||||
<li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="_waku_dns_discovery._internal_.TransportProtocol.html#TCP" 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>TCP</a></li>
|
||||
<li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="_waku_dns_discovery._internal_.TransportProtocol.html#UDP" 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>UDP</a></li></ul></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
||||
@ -1,4 +1,4 @@
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ERR_TYPE_NOT_IMPLEMENTED | @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">
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>TransportProtocolPerIpVersion | @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>
|
||||
@ -13,12 +13,46 @@
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">@waku/root</a></li>
|
||||
<li><a href="../modules/_waku_enr.html">@waku/enr</a></li>
|
||||
<li><a href="_waku_enr.ERR_TYPE_NOT_IMPLEMENTED.html">ERR_TYPE_NOT_IMPLEMENTED</a></li></ul>
|
||||
<h1>Variable ERR_TYPE_NOT_IMPLEMENTED<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
||||
<div class="tsd-signature">ERR_<wbr/>TYPE_<wbr/>NOT_<wbr/>IMPLEMENTED<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"Keypair type not implemented"</span><span class="tsd-signature-symbol"> = "Keypair type not implemented"</span></div><aside class="tsd-sources">
|
||||
<li><a href="../modules/_waku_dns_discovery.html">@waku/dns-discovery</a></li>
|
||||
<li><a href="../modules/_waku_dns_discovery._internal_.html"><internal></a></li>
|
||||
<li><a href="_waku_dns_discovery._internal_.TransportProtocolPerIpVersion.html">TransportProtocolPerIpVersion</a></li></ul>
|
||||
<h1>Enumeration TransportProtocolPerIpVersion</h1></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/enr/src/keypair/index.ts#L9">packages/enr/src/keypair/index.ts:9</a></li></ul></aside></div>
|
||||
<li>Defined in packages/enr/dist/enr.d.ts:10</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_.TransportProtocolPerIpVersion.html#TCP4" 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>TCP4</span></a>
|
||||
<a href="_waku_dns_discovery._internal_.TransportProtocolPerIpVersion.html#TCP6" 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>TCP6</span></a>
|
||||
<a href="_waku_dns_discovery._internal_.TransportProtocolPerIpVersion.html#UDP4" 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>UDP4</span></a>
|
||||
<a href="_waku_dns_discovery._internal_.TransportProtocolPerIpVersion.html#UDP6" 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>UDP6</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="TCP4" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>TCP4</span><a href="#TCP4" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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">TCP4<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"tcp4"</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/enr.d.ts:11</li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><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>
|
||||
<div class="tsd-signature">TCP6<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"tcp6"</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/enr.d.ts:13</li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="UDP4" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>UDP4</span><a href="#UDP4" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">UDP4<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"udp4"</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/enr.d.ts:12</li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><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>
|
||||
<div class="tsd-signature">UDP6<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"udp6"</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in packages/enr/dist/enr.d.ts:14</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">
|
||||
@ -63,10 +97,10 @@
|
||||
<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"><internal></a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a>
|
||||
<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"><internal></a></li></ul></li>
|
||||
<li class="current tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
|
||||
<li class="current tsd-kind-module tsd-parent-kind-module"><a href="../modules/_waku_dns_discovery._internal_.html"><internal></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"><internal></a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
|
||||
@ -129,26 +163,12 @@
|
||||
<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-enum tsd-parent-kind-module"><a href="../enums/_waku_enr.KeypairType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-8-path"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)" id="icon-8-text"></path></svg>Keypair<wbr/>Type</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_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>ENR</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_waku_enr.Secp256k1Keypair.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>Secp256k1<wbr/>Keypair</a></li>
|
||||
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/_waku_enr.IKeypair.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg>IKeypair</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="_waku_enr.ERR_INVALID_ID.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>ERR_<wbr/>INVALID_<wbr/>ID</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="_waku_enr.ERR_NO_SIGNATURE.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>ERR_<wbr/>NO_<wbr/>SIGNATURE</a></li>
|
||||
<li class="current tsd-kind-variable tsd-parent-kind-module"><a href="_waku_enr.ERR_TYPE_NOT_IMPLEMENTED.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>ERR_<wbr/>TYPE_<wbr/>NOT_<wbr/>IMPLEMENTED</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="_waku_enr.MAX_RECORD_SIZE.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>MAX_<wbr/>RECORD_<wbr/>SIZE</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="_waku_enr.MULTIADDR_LENGTH_SIZE.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>MULTIADDR_<wbr/>LENGTH_<wbr/>SIZE</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="../functions/_waku_enr.compressPublicKey.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>compress<wbr/>Public<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="../functions/_waku_enr.createKeypair.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>create<wbr/>Keypair</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="../functions/_waku_enr.createKeypairFromPeerId.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>create<wbr/>Keypair<wbr/>From<wbr/>Peer<wbr/>Id</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="../functions/_waku_enr.createPeerIdFromKeypair.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>create<wbr/>Peer<wbr/>Id<wbr/>From<wbr/>Keypair</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="../functions/_waku_enr.decodeWaku2.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<wbr/>Waku2</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="../functions/_waku_enr.encodeWaku2.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<wbr/>Waku2</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="../functions/_waku_enr.getPublicKey.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>get<wbr/>Public<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="../functions/_waku_enr.keccak256.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>keccak256</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="../functions/_waku_enr.randomBytes.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>random<wbr/>Bytes</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="../functions/_waku_enr.sign.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>sign</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="../functions/_waku_enr.verifySignature.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>verify<wbr/>Signature</a></li></ul></nav></div></div>
|
||||
<li class="current tsd-kind-enum tsd-parent-kind-module"><a href="_waku_dns_discovery._internal_.TransportProtocolPerIpVersion.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>Transport<wbr/>Protocol<wbr/>Per<wbr/>Ip<wbr/>Version</span></a>
|
||||
<ul>
|
||||
<li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="_waku_dns_discovery._internal_.TransportProtocolPerIpVersion.html#TCP4" 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>TCP4</a></li>
|
||||
<li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="_waku_dns_discovery._internal_.TransportProtocolPerIpVersion.html#TCP6" 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>TCP6</a></li>
|
||||
<li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="_waku_dns_discovery._internal_.TransportProtocolPerIpVersion.html#UDP4" 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>UDP4</a></li>
|
||||
<li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="_waku_dns_discovery._internal_.TransportProtocolPerIpVersion.html#UDP6" 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>UDP6</a></li></ul></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
||||
@ -1,4 +1,4 @@
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>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">
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>TransportProtocol | @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>
|
||||
@ -14,10 +14,10 @@
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">@waku/root</a></li>
|
||||
<li><a href="../modules/_waku_enr.html">@waku/enr</a></li>
|
||||
<li><a href="_waku_enr.KeypairType.html">KeypairType</a></li></ul>
|
||||
<h1>Enumeration KeypairType</h1></div><aside class="tsd-sources">
|
||||
<li><a href="_waku_enr.TransportProtocol.html">TransportProtocol</a></li></ul>
|
||||
<h1>Enumeration TransportProtocol</h1></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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/36534af0/packages/enr/src/enr.ts#L22">packages/enr/src/enr.ts:22</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">
|
||||
@ -25,27 +25,21 @@
|
||||
<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_enr.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_enr.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_enr.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 class="tsd-index-list"><a href="_waku_enr.TransportProtocol.html#TCP" 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>TCP</span></a>
|
||||
<a href="_waku_enr.TransportProtocol.html#UDP" 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>UDP</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">
|
||||
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><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"><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">TCP<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"tcp"</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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">
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/enr.ts#L23">packages/enr/src/enr.ts:23</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><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>
|
||||
<div class="tsd-signature">UDP<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"udp"</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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/4eacc39a/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/36534af0/packages/enr/src/enr.ts#L24">packages/enr/src/enr.ts:24</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">
|
||||
@ -156,11 +150,10 @@
|
||||
<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_enr.KeypairType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-8-path"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)" id="icon-8-text"></path></svg><span>Keypair<wbr/>Type</span></a>
|
||||
<li class="current tsd-kind-enum tsd-parent-kind-module"><a href="_waku_enr.TransportProtocol.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>Transport<wbr/>Protocol</span></a>
|
||||
<ul>
|
||||
<li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="_waku_enr.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_enr.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_enr.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>
|
||||
<li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="_waku_enr.TransportProtocol.html#TCP" 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>TCP</a></li>
|
||||
<li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="_waku_enr.TransportProtocol.html#UDP" 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>UDP</a></li></ul></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
||||
@ -1,4 +1,4 @@
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>multiaddrsToPeerInfo | @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">
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>TransportProtocolPerIpVersion | @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>
|
||||
@ -13,21 +13,45 @@
|
||||
<div class="tsd-page-title">
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">@waku/root</a></li>
|
||||
<li><a href="../modules/_waku_utils.html">@waku/utils</a></li>
|
||||
<li><a href="_waku_utils.multiaddrsToPeerInfo.html">multiaddrsToPeerInfo</a></li></ul>
|
||||
<h1>Function multiaddrsToPeerInfo</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="multiaddrsToPeerInfo">multiaddrs<wbr/>To<wbr/>Peer<wbr/>Info<span class="tsd-signature-symbol">(</span>mas<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">PeerInfo</span><span class="tsd-signature-symbol">[]</span><a href="#multiaddrsToPeerInfo" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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>mas: <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">PeerInfo</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
||||
<li><a href="../modules/_waku_enr.html">@waku/enr</a></li>
|
||||
<li><a href="_waku_enr.TransportProtocolPerIpVersion.html">TransportProtocolPerIpVersion</a></li></ul>
|
||||
<h1>Enumeration TransportProtocolPerIpVersion</h1></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/utils/src/libp2p/index.ts#L81">packages/utils/src/libp2p/index.ts:81</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/enr.ts#L26">packages/enr/src/enr.ts:26</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
||||
<h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
|
||||
<div class="tsd-accordion-details">
|
||||
<section class="tsd-index-section">
|
||||
<h3 class="tsd-index-heading">Enumeration Members</h3>
|
||||
<div class="tsd-index-list"><a href="_waku_enr.TransportProtocolPerIpVersion.html#TCP4" 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>TCP4</span></a>
|
||||
<a href="_waku_enr.TransportProtocolPerIpVersion.html#TCP6" 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>TCP6</span></a>
|
||||
<a href="_waku_enr.TransportProtocolPerIpVersion.html#UDP4" 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>UDP4</span></a>
|
||||
<a href="_waku_enr.TransportProtocolPerIpVersion.html#UDP6" 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>UDP6</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="TCP4" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>TCP4</span><a href="#TCP4" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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">TCP4<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"tcp4"</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/enr.ts#L27">packages/enr/src/enr.ts:27</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><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>
|
||||
<div class="tsd-signature">TCP6<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"tcp6"</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/enr.ts#L29">packages/enr/src/enr.ts:29</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="UDP4" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>UDP4</span><a href="#UDP4" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">UDP4<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"udp4"</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/enr.ts#L28">packages/enr/src/enr.ts:28</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><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>
|
||||
<div class="tsd-signature">UDP6<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"udp6"</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/enr.ts#L30">packages/enr/src/enr.ts:30</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">
|
||||
@ -75,7 +99,7 @@
|
||||
<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"><internal></a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a>
|
||||
<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"><internal></a></li></ul></li>
|
||||
<li class="tsd-kind-module"><a href="../modules/_waku_interfaces.html">@waku/interfaces</a></li>
|
||||
@ -135,20 +159,15 @@
|
||||
<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="current tsd-kind-module"><a href="../modules/_waku_utils.html">@waku/utils</a></li></ul></li></ul></div></details></nav>
|
||||
<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-module"><a href="_waku_utils.bytesToHex.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg>bytes<wbr/>To<wbr/>Hex</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_utils.bytesToUtf8.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>bytes<wbr/>To<wbr/>Utf8</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_utils.concat.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>concat</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_utils.getPeersForProtocol.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>get<wbr/>Peers<wbr/>For<wbr/>Protocol</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_utils.getPseudoRandomSubset.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>get<wbr/>Pseudo<wbr/>Random<wbr/>Subset</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_utils.hexToBytes.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>hex<wbr/>To<wbr/>Bytes</a></li>
|
||||
<li class="current tsd-kind-function tsd-parent-kind-module"><a href="_waku_utils.multiaddrsToPeerInfo.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>multiaddrs<wbr/>To<wbr/>Peer<wbr/>Info</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_utils.selectConnection.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>select<wbr/>Connection</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_utils.selectPeerForProtocol.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>select<wbr/>Peer<wbr/>For<wbr/>Protocol</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_utils.selectRandomPeer.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>select<wbr/>Random<wbr/>Peer</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_utils.utf8ToBytes.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>utf8<wbr/>To<wbr/>Bytes</a></li></ul></nav></div></div>
|
||||
<li class="current tsd-kind-enum tsd-parent-kind-module"><a href="_waku_enr.TransportProtocolPerIpVersion.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>Transport<wbr/>Protocol<wbr/>Per<wbr/>Ip<wbr/>Version</span></a>
|
||||
<ul>
|
||||
<li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="_waku_enr.TransportProtocolPerIpVersion.html#TCP4" 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>TCP4</a></li>
|
||||
<li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="_waku_enr.TransportProtocolPerIpVersion.html#TCP6" 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>TCP6</a></li>
|
||||
<li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="_waku_enr.TransportProtocolPerIpVersion.html#UDP4" 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>UDP4</a></li>
|
||||
<li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="_waku_enr.TransportProtocolPerIpVersion.html#UDP6" 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>UDP6</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>
|
||||
@ -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/4eacc39a/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/36534af0/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">"backward"</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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/36534af0/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">"forward"</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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/36534af0/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">
|
||||
|
||||
@ -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/4eacc39a/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/36534af0/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">
|
||||
@ -36,22 +36,22 @@
|
||||
<h3 class="tsd-anchor-link"><span>Filter</span><a href="#Filter" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<div class="tsd-signature">Filter<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"filter"</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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/36534af0/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">"lightpush"</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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/36534af0/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="Relay" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>Relay</span><a href="#Relay" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">Relay<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"relay"</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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/36534af0/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">"store"</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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/36534af0/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">
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
<li><a href="_waku_interfaces.Tags.html">Tags</a></li></ul>
|
||||
<h1>Enumeration Tags</h1></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/interfaces/src/connection_manager.ts#L1">packages/interfaces/src/connection_manager.ts:1</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/interfaces/src/connection_manager.ts#L1">packages/interfaces/src/connection_manager.ts:1</a></li></ul></aside>
|
||||
<section class="tsd-panel-group tsd-index-group">
|
||||
<section class="tsd-panel tsd-index-panel">
|
||||
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
||||
@ -34,12 +34,12 @@
|
||||
<h3 class="tsd-anchor-link"><span>BOOTSTRAP</span><a href="#BOOTSTRAP" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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">BOOTSTRAP<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"bootstrap"</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/interfaces/src/connection_manager.ts#L2">packages/interfaces/src/connection_manager.ts:2</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/interfaces/src/connection_manager.ts#L2">packages/interfaces/src/connection_manager.ts:2</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="PEER_EXCHANGE" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>PEER_<wbr/>EXCHANGE</span><a href="#PEER_EXCHANGE" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">"peer-exchange"</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/interfaces/src/connection_manager.ts#L3">packages/interfaces/src/connection_manager.ts:3</a></li></ul></aside></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/interfaces/src/connection_manager.ts#L3">packages/interfaces/src/connection_manager.ts:3</a></li></ul></aside></section></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
|
||||
@ -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/4eacc39a/packages/proto/src/lib/store.ts#L372">packages/proto/src/lib/store.ts:372</a></li>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/proto/src/lib/store.ts#L382">packages/proto/src/lib/store.ts:382</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/store.ts#L372">packages/proto/src/lib/store.ts:372</a></li>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/store.ts#L382">packages/proto/src/lib/store.ts:382</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>INVALID_<wbr/>CURSOR</span><a href="#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">INVALID_<wbr/>CURSOR<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"INVALID_CURSOR"</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/proto/src/lib/store.ts#L374">packages/proto/src/lib/store.ts:374</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/store.ts#L374">packages/proto/src/lib/store.ts:374</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="NONE" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>NONE</span><a href="#NONE" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" 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">NONE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"NONE"</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/proto/src/lib/store.ts#L373">packages/proto/src/lib/store.ts:373</a></li></ul></aside></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/store.ts#L373">packages/proto/src/lib/store.ts:373</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">
|
||||
|
||||
@ -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/4eacc39a/packages/proto/src/lib/store.ts#L114">packages/proto/src/lib/store.ts:114</a></li>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/proto/src/lib/store.ts#L124">packages/proto/src/lib/store.ts:124</a></li></ul></aside>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/store.ts#L114">packages/proto/src/lib/store.ts:114</a></li>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/store.ts#L124">packages/proto/src/lib/store.ts:124</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>BACKWARD</span><a href="#BACKWARD" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
|
||||
<div class="tsd-signature">BACKWARD<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"BACKWARD"</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/proto/src/lib/store.ts#L115">packages/proto/src/lib/store.ts:115</a></li></ul></aside></section>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/store.ts#L115">packages/proto/src/lib/store.ts:115</a></li></ul></aside></section>
|
||||
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="FORWARD" class="tsd-anchor"></a>
|
||||
<h3 class="tsd-anchor-link"><span>FORWARD</span><a href="#FORWARD" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
||||
<div class="tsd-signature">FORWARD<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"FORWARD"</span></div><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/proto/src/lib/store.ts#L116">packages/proto/src/lib/store.ts:116</a></li></ul></aside></section></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/store.ts#L116">packages/proto/src/lib/store.ts:116</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">
|
||||
|
||||
@ -36,7 +36,7 @@ messages.</p>
|
||||
</div></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <a href="../classes/_waku_core.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/4eacc39a/packages/core/src/lib/message/version_0.ts#L147">packages/core/src/lib/message/version_0.ts:147</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/message/version_0.ts#L147">packages/core/src/lib/message/version_0.ts:147</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,7 +34,7 @@ messages.</p>
|
||||
<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="../classes/_waku_core.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/4eacc39a/packages/core/src/lib/message/version_0.ts#L94">packages/core/src/lib/message/version_0.ts:94</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/message/version_0.ts#L94">packages/core/src/lib/message/version_0.ts:94</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
|
||||
@ -52,7 +52,7 @@ remote nodes, <strong>rejects</strong> if the timeoutMs is reached.</p>
|
||||
</div></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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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/36534af0/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">
|
||||
|
||||
@ -39,7 +39,7 @@
|
||||
<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/4eacc39a/packages/core/src/lib/filter/index.ts#L209">packages/core/src/lib/filter/index.ts:209</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/filter/index.ts#L209">packages/core/src/lib/filter/index.ts:209</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,7 +39,7 @@
|
||||
<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/4eacc39a/packages/core/src/lib/light_push/index.ts#L91">packages/core/src/lib/light_push/index.ts:91</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/light_push/index.ts#L91">packages/core/src/lib/light_push/index.ts:91</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,7 +39,7 @@
|
||||
<h5>components: <span class="tsd-signature-type">GossipSubComponents</span></h5></li></ul></div>
|
||||
<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/4eacc39a/packages/core/src/lib/relay/index.ts#L183">packages/core/src/lib/relay/index.ts:183</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/relay/index.ts#L183">packages/core/src/lib/relay/index.ts:183</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">
|
||||
|
||||
@ -30,7 +30,7 @@
|
||||
<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 <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"><</span><a href="../interfaces/_waku_core._internal_.Cursor.html" class="tsd-signature-type" data-tsd-kind="Interface">Cursor</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/core/src/lib/store/index.ts#L349">packages/core/src/lib/store/index.ts:349</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/store/index.ts#L349">packages/core/src/lib/store/index.ts:349</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">
|
||||
|
||||
@ -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/4eacc39a/packages/core/src/lib/store/index.ts#L345">packages/core/src/lib/store/index.ts:345</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/store/index.ts#L345">packages/core/src/lib/store/index.ts:345</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,7 +39,7 @@
|
||||
<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/4eacc39a/packages/core/src/lib/store/index.ts#L376">packages/core/src/lib/store/index.ts:376</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/core/src/lib/store/index.ts#L376">packages/core/src/lib/store/index.ts:376</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">
|
||||
|
||||
@ -33,7 +33,7 @@ receive messages, enabling low resource consumption.
|
||||
<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"> & </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"><</span><a href="../interfaces/_waku_create._internal_.LightNode.html" class="tsd-signature-type" data-tsd-kind="Interface">LightNode</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/create/src/index.ts#L44">packages/create/src/index.ts:44</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/create/src/index.ts#L44">packages/create/src/index.ts:44</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">
|
||||
|
||||
@ -30,7 +30,7 @@ enabling some privacy preserving properties.</p>
|
||||
<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"> & </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-type">Partial</span><span class="tsd-signature-symbol"><</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">></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"><</span><a href="../interfaces/_waku_create._internal_.RelayNode.html" class="tsd-signature-type" data-tsd-kind="Interface">RelayNode</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/create/src/index.ts#L77">packages/create/src/index.ts:77</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/create/src/index.ts#L77">packages/create/src/index.ts:77</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,7 +42,7 @@
|
||||
<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 <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"><</span><span class="tsd-signature-type">Libp2p</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/create/src/index.ts#L144">packages/create/src/index.ts:144</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/create/src/index.ts#L144">packages/create/src/index.ts:144</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">
|
||||
|
||||
@ -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/4eacc39a/packages/create/src/index.ts#L138">packages/create/src/index.ts:138</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/create/src/index.ts#L138">packages/create/src/index.ts:138</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
|
||||
@ -40,7 +40,7 @@
|
||||
<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/4eacc39a/packages/dns-discovery/src/index.ts#L137">packages/dns-discovery/src/index.ts:137</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/dns-discovery/src/index.ts#L137">packages/dns-discovery/src/index.ts:137</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">
|
||||
|
||||
@ -27,7 +27,7 @@
|
||||
<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/4eacc39a/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/36534af0/packages/enr/src/crypto.ts#L31">packages/enr/src/crypto.ts:31</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -138,24 +138,22 @@
|
||||
<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-enum tsd-parent-kind-module"><a href="../enums/_waku_enr.KeypairType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-8-path"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)" id="icon-8-text"></path></svg>Keypair<wbr/>Type</a></li>
|
||||
<li class="tsd-kind-enum tsd-parent-kind-module"><a href="../enums/_waku_enr.TransportProtocol.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>Transport<wbr/>Protocol</a></li>
|
||||
<li class="tsd-kind-enum tsd-parent-kind-module"><a href="../enums/_waku_enr.TransportProtocolPerIpVersion.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>Transport<wbr/>Protocol<wbr/>Per<wbr/>Ip<wbr/>Version</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_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>ENR</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_waku_enr.Secp256k1Keypair.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>Secp256k1<wbr/>Keypair</a></li>
|
||||
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/_waku_enr.IKeypair.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg>IKeypair</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_waku_enr.EnrCreator.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>Enr<wbr/>Creator</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_waku_enr.EnrDecoder.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>Enr<wbr/>Decoder</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.ERR_INVALID_ID.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>ERR_<wbr/>INVALID_<wbr/>ID</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.ERR_NO_SIGNATURE.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>ERR_<wbr/>NO_<wbr/>SIGNATURE</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.ERR_TYPE_NOT_IMPLEMENTED.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>ERR_<wbr/>TYPE_<wbr/>NOT_<wbr/>IMPLEMENTED</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.MAX_RECORD_SIZE.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>MAX_<wbr/>RECORD_<wbr/>SIZE</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.MULTIADDR_LENGTH_SIZE.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>MULTIADDR_<wbr/>LENGTH_<wbr/>SIZE</a></li>
|
||||
<li class="current tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.compressPublicKey.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>compress<wbr/>Public<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createKeypair.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>create<wbr/>Keypair</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createKeypairFromPeerId.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>create<wbr/>Keypair<wbr/>From<wbr/>Peer<wbr/>Id</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createPeerIdFromKeypair.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>create<wbr/>Peer<wbr/>Id<wbr/>From<wbr/>Keypair</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createPeerIdFromPublicKey.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>create<wbr/>Peer<wbr/>Id<wbr/>From<wbr/>Public<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.decodeWaku2.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<wbr/>Waku2</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.encodeWaku2.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<wbr/>Waku2</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.getPublicKey.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>get<wbr/>Public<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.getPrivateKeyFromPeerId.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>get<wbr/>Private<wbr/>Key<wbr/>From<wbr/>Peer<wbr/>Id</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.getPublicKeyFromPeerId.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>get<wbr/>Public<wbr/>Key<wbr/>From<wbr/>Peer<wbr/>Id</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.keccak256.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>keccak256</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.randomBytes.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>random<wbr/>Bytes</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.sign.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>sign</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.verifySignature.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>verify<wbr/>Signature</a></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>createPeerIdFromKeypair | @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">
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>createPeerIdFromPublicKey | @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>
|
||||
@ -14,20 +14,20 @@
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">@waku/root</a></li>
|
||||
<li><a href="../modules/_waku_enr.html">@waku/enr</a></li>
|
||||
<li><a href="_waku_enr.createPeerIdFromKeypair.html">createPeerIdFromKeypair</a></li></ul>
|
||||
<h1>Function createPeerIdFromKeypair</h1></div>
|
||||
<li><a href="_waku_enr.createPeerIdFromPublicKey.html">createPeerIdFromPublicKey</a></li></ul>
|
||||
<h1>Function createPeerIdFromPublicKey</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><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"><</span><span class="tsd-signature-type">PeerId</span><span class="tsd-signature-symbol">></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="createPeerIdFromPublicKey">create<wbr/>Peer<wbr/>Id<wbr/>From<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/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">PeerId</span><span class="tsd-signature-symbol">></span><a href="#createPeerIdFromPublicKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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>
|
||||
<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/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">PeerId</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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/36534af0/packages/enr/src/peer_id.ts#L6">packages/enr/src/peer_id.ts:6</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">
|
||||
@ -138,24 +138,22 @@
|
||||
<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-enum tsd-parent-kind-module"><a href="../enums/_waku_enr.KeypairType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-8-path"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)" id="icon-8-text"></path></svg>Keypair<wbr/>Type</a></li>
|
||||
<li class="tsd-kind-enum tsd-parent-kind-module"><a href="../enums/_waku_enr.TransportProtocol.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>Transport<wbr/>Protocol</a></li>
|
||||
<li class="tsd-kind-enum tsd-parent-kind-module"><a href="../enums/_waku_enr.TransportProtocolPerIpVersion.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>Transport<wbr/>Protocol<wbr/>Per<wbr/>Ip<wbr/>Version</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_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>ENR</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_waku_enr.Secp256k1Keypair.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>Secp256k1<wbr/>Keypair</a></li>
|
||||
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/_waku_enr.IKeypair.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg>IKeypair</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_waku_enr.EnrCreator.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>Enr<wbr/>Creator</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_waku_enr.EnrDecoder.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>Enr<wbr/>Decoder</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.ERR_INVALID_ID.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>ERR_<wbr/>INVALID_<wbr/>ID</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.ERR_NO_SIGNATURE.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>ERR_<wbr/>NO_<wbr/>SIGNATURE</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.ERR_TYPE_NOT_IMPLEMENTED.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>ERR_<wbr/>TYPE_<wbr/>NOT_<wbr/>IMPLEMENTED</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.MAX_RECORD_SIZE.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>MAX_<wbr/>RECORD_<wbr/>SIZE</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.MULTIADDR_LENGTH_SIZE.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>MULTIADDR_<wbr/>LENGTH_<wbr/>SIZE</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.compressPublicKey.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>compress<wbr/>Public<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createKeypair.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>create<wbr/>Keypair</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createKeypairFromPeerId.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>create<wbr/>Keypair<wbr/>From<wbr/>Peer<wbr/>Id</a></li>
|
||||
<li class="current tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createPeerIdFromKeypair.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>create<wbr/>Peer<wbr/>Id<wbr/>From<wbr/>Keypair</a></li>
|
||||
<li class="current tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createPeerIdFromPublicKey.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>create<wbr/>Peer<wbr/>Id<wbr/>From<wbr/>Public<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.decodeWaku2.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<wbr/>Waku2</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.encodeWaku2.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<wbr/>Waku2</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.getPublicKey.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>get<wbr/>Public<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.getPrivateKeyFromPeerId.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>get<wbr/>Private<wbr/>Key<wbr/>From<wbr/>Peer<wbr/>Id</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.getPublicKeyFromPeerId.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>get<wbr/>Public<wbr/>Key<wbr/>From<wbr/>Peer<wbr/>Id</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.keccak256.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>keccak256</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.randomBytes.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>random<wbr/>Bytes</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.sign.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>sign</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.verifySignature.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>verify<wbr/>Signature</a></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
@ -27,7 +27,7 @@
|
||||
<h5>byte: <span class="tsd-signature-type">number</span></h5></li></ul></div>
|
||||
<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/4eacc39a/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/36534af0/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">
|
||||
@ -138,24 +138,22 @@
|
||||
<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-enum tsd-parent-kind-module"><a href="../enums/_waku_enr.KeypairType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-8-path"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)" id="icon-8-text"></path></svg>Keypair<wbr/>Type</a></li>
|
||||
<li class="tsd-kind-enum tsd-parent-kind-module"><a href="../enums/_waku_enr.TransportProtocol.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>Transport<wbr/>Protocol</a></li>
|
||||
<li class="tsd-kind-enum tsd-parent-kind-module"><a href="../enums/_waku_enr.TransportProtocolPerIpVersion.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>Transport<wbr/>Protocol<wbr/>Per<wbr/>Ip<wbr/>Version</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_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>ENR</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_waku_enr.Secp256k1Keypair.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>Secp256k1<wbr/>Keypair</a></li>
|
||||
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/_waku_enr.IKeypair.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg>IKeypair</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_waku_enr.EnrCreator.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>Enr<wbr/>Creator</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_waku_enr.EnrDecoder.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>Enr<wbr/>Decoder</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.ERR_INVALID_ID.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>ERR_<wbr/>INVALID_<wbr/>ID</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.ERR_NO_SIGNATURE.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>ERR_<wbr/>NO_<wbr/>SIGNATURE</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.ERR_TYPE_NOT_IMPLEMENTED.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>ERR_<wbr/>TYPE_<wbr/>NOT_<wbr/>IMPLEMENTED</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.MAX_RECORD_SIZE.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>MAX_<wbr/>RECORD_<wbr/>SIZE</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.MULTIADDR_LENGTH_SIZE.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>MULTIADDR_<wbr/>LENGTH_<wbr/>SIZE</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.compressPublicKey.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>compress<wbr/>Public<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createKeypair.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>create<wbr/>Keypair</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createKeypairFromPeerId.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>create<wbr/>Keypair<wbr/>From<wbr/>Peer<wbr/>Id</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createPeerIdFromKeypair.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>create<wbr/>Peer<wbr/>Id<wbr/>From<wbr/>Keypair</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createPeerIdFromPublicKey.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>create<wbr/>Peer<wbr/>Id<wbr/>From<wbr/>Public<wbr/>Key</a></li>
|
||||
<li class="current tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.decodeWaku2.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<wbr/>Waku2</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.encodeWaku2.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<wbr/>Waku2</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.getPublicKey.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>get<wbr/>Public<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.getPrivateKeyFromPeerId.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>get<wbr/>Private<wbr/>Key<wbr/>From<wbr/>Peer<wbr/>Id</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.getPublicKeyFromPeerId.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>get<wbr/>Public<wbr/>Key<wbr/>From<wbr/>Peer<wbr/>Id</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.keccak256.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>keccak256</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.randomBytes.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>random<wbr/>Bytes</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.sign.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>sign</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.verifySignature.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>verify<wbr/>Signature</a></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
|
||||
@ -27,7 +27,7 @@
|
||||
<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/4eacc39a/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/36534af0/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">
|
||||
@ -138,24 +138,22 @@
|
||||
<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-enum tsd-parent-kind-module"><a href="../enums/_waku_enr.KeypairType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-8-path"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)" id="icon-8-text"></path></svg>Keypair<wbr/>Type</a></li>
|
||||
<li class="tsd-kind-enum tsd-parent-kind-module"><a href="../enums/_waku_enr.TransportProtocol.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>Transport<wbr/>Protocol</a></li>
|
||||
<li class="tsd-kind-enum tsd-parent-kind-module"><a href="../enums/_waku_enr.TransportProtocolPerIpVersion.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>Transport<wbr/>Protocol<wbr/>Per<wbr/>Ip<wbr/>Version</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_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>ENR</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_waku_enr.Secp256k1Keypair.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>Secp256k1<wbr/>Keypair</a></li>
|
||||
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/_waku_enr.IKeypair.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg>IKeypair</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_waku_enr.EnrCreator.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>Enr<wbr/>Creator</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_waku_enr.EnrDecoder.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>Enr<wbr/>Decoder</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.ERR_INVALID_ID.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>ERR_<wbr/>INVALID_<wbr/>ID</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.ERR_NO_SIGNATURE.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>ERR_<wbr/>NO_<wbr/>SIGNATURE</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.ERR_TYPE_NOT_IMPLEMENTED.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>ERR_<wbr/>TYPE_<wbr/>NOT_<wbr/>IMPLEMENTED</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.MAX_RECORD_SIZE.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>MAX_<wbr/>RECORD_<wbr/>SIZE</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.MULTIADDR_LENGTH_SIZE.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>MULTIADDR_<wbr/>LENGTH_<wbr/>SIZE</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.compressPublicKey.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>compress<wbr/>Public<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createKeypair.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>create<wbr/>Keypair</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createKeypairFromPeerId.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>create<wbr/>Keypair<wbr/>From<wbr/>Peer<wbr/>Id</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createPeerIdFromKeypair.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>create<wbr/>Peer<wbr/>Id<wbr/>From<wbr/>Keypair</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createPeerIdFromPublicKey.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>create<wbr/>Peer<wbr/>Id<wbr/>From<wbr/>Public<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.decodeWaku2.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<wbr/>Waku2</a></li>
|
||||
<li class="current tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.encodeWaku2.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<wbr/>Waku2</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.getPublicKey.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>get<wbr/>Public<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.getPrivateKeyFromPeerId.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>get<wbr/>Private<wbr/>Key<wbr/>From<wbr/>Peer<wbr/>Id</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.getPublicKeyFromPeerId.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>get<wbr/>Public<wbr/>Key<wbr/>From<wbr/>Peer<wbr/>Id</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.keccak256.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>keccak256</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.randomBytes.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>random<wbr/>Bytes</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.sign.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>sign</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.verifySignature.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>verify<wbr/>Signature</a></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>createKeypairFromPeerId | @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">
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>getPrivateKeyFromPeerId | @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>
|
||||
@ -14,20 +14,20 @@
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">@waku/root</a></li>
|
||||
<li><a href="../modules/_waku_enr.html">@waku/enr</a></li>
|
||||
<li><a href="_waku_enr.createKeypairFromPeerId.html">createKeypairFromPeerId</a></li></ul>
|
||||
<h1>Function createKeypairFromPeerId</h1></div>
|
||||
<li><a href="_waku_enr.getPrivateKeyFromPeerId.html">getPrivateKeyFromPeerId</a></li></ul>
|
||||
<h1>Function getPrivateKeyFromPeerId</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><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"><</span><a href="../interfaces/_waku_enr.IKeypair.html" class="tsd-signature-type" data-tsd-kind="Interface">IKeypair</a><span class="tsd-signature-symbol">></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="getPrivateKeyFromPeerId">get<wbr/>Private<wbr/>Key<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"><</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><a href="#getPrivateKeyFromPeerId" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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 <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"><</span><a href="../interfaces/_waku_enr.IKeypair.html" class="tsd-signature-type" data-tsd-kind="Interface">IKeypair</a><span class="tsd-signature-symbol">></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"><</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></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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/36534af0/packages/enr/src/peer_id.ts#L22">packages/enr/src/peer_id.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">
|
||||
@ -138,24 +138,22 @@
|
||||
<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-enum tsd-parent-kind-module"><a href="../enums/_waku_enr.KeypairType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-8-path"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)" id="icon-8-text"></path></svg>Keypair<wbr/>Type</a></li>
|
||||
<li class="tsd-kind-enum tsd-parent-kind-module"><a href="../enums/_waku_enr.TransportProtocol.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>Transport<wbr/>Protocol</a></li>
|
||||
<li class="tsd-kind-enum tsd-parent-kind-module"><a href="../enums/_waku_enr.TransportProtocolPerIpVersion.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>Transport<wbr/>Protocol<wbr/>Per<wbr/>Ip<wbr/>Version</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_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>ENR</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_waku_enr.Secp256k1Keypair.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>Secp256k1<wbr/>Keypair</a></li>
|
||||
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/_waku_enr.IKeypair.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg>IKeypair</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_waku_enr.EnrCreator.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>Enr<wbr/>Creator</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_waku_enr.EnrDecoder.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>Enr<wbr/>Decoder</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.ERR_INVALID_ID.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>ERR_<wbr/>INVALID_<wbr/>ID</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.ERR_NO_SIGNATURE.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>ERR_<wbr/>NO_<wbr/>SIGNATURE</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.ERR_TYPE_NOT_IMPLEMENTED.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>ERR_<wbr/>TYPE_<wbr/>NOT_<wbr/>IMPLEMENTED</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.MAX_RECORD_SIZE.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>MAX_<wbr/>RECORD_<wbr/>SIZE</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.MULTIADDR_LENGTH_SIZE.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>MULTIADDR_<wbr/>LENGTH_<wbr/>SIZE</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.compressPublicKey.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>compress<wbr/>Public<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createKeypair.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>create<wbr/>Keypair</a></li>
|
||||
<li class="current tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createKeypairFromPeerId.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>create<wbr/>Keypair<wbr/>From<wbr/>Peer<wbr/>Id</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createPeerIdFromKeypair.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>create<wbr/>Peer<wbr/>Id<wbr/>From<wbr/>Keypair</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createPeerIdFromPublicKey.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>create<wbr/>Peer<wbr/>Id<wbr/>From<wbr/>Public<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.decodeWaku2.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<wbr/>Waku2</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.encodeWaku2.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<wbr/>Waku2</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.getPublicKey.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>get<wbr/>Public<wbr/>Key</a></li>
|
||||
<li class="current tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.getPrivateKeyFromPeerId.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>get<wbr/>Private<wbr/>Key<wbr/>From<wbr/>Peer<wbr/>Id</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.getPublicKeyFromPeerId.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>get<wbr/>Public<wbr/>Key<wbr/>From<wbr/>Peer<wbr/>Id</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.keccak256.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>keccak256</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.randomBytes.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>random<wbr/>Bytes</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.sign.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>sign</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.verifySignature.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>verify<wbr/>Signature</a></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
@ -1,168 +0,0 @@
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>getPublicKey | @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_enr.html">@waku/enr</a></li>
|
||||
<li><a href="_waku_enr.getPublicKey.html">getPublicKey</a></li></ul>
|
||||
<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><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>
|
||||
</div>
|
||||
<div class="tsd-parameters">
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameter-list">
|
||||
<li>
|
||||
<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 <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: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">
|
||||
<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"><internal></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"><internal></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"><internal></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"><internal></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"><internal></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"><internal></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.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.FilterRpc.html">Filter<wbr/>Rpc</a></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.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.PushRpc.html">Push<wbr/>Rpc</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.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.HistoryRpc.html">History<wbr/>Rpc</a></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-enum tsd-parent-kind-module"><a href="../enums/_waku_enr.KeypairType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-8-path"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)" id="icon-8-text"></path></svg>Keypair<wbr/>Type</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_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>ENR</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_waku_enr.Secp256k1Keypair.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>Secp256k1<wbr/>Keypair</a></li>
|
||||
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/_waku_enr.IKeypair.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg>IKeypair</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.ERR_INVALID_ID.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>ERR_<wbr/>INVALID_<wbr/>ID</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.ERR_NO_SIGNATURE.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>ERR_<wbr/>NO_<wbr/>SIGNATURE</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.ERR_TYPE_NOT_IMPLEMENTED.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>ERR_<wbr/>TYPE_<wbr/>NOT_<wbr/>IMPLEMENTED</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.MAX_RECORD_SIZE.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>MAX_<wbr/>RECORD_<wbr/>SIZE</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.MULTIADDR_LENGTH_SIZE.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>MULTIADDR_<wbr/>LENGTH_<wbr/>SIZE</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.compressPublicKey.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>compress<wbr/>Public<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createKeypair.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>create<wbr/>Keypair</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createKeypairFromPeerId.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>create<wbr/>Keypair<wbr/>From<wbr/>Peer<wbr/>Id</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createPeerIdFromKeypair.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>create<wbr/>Peer<wbr/>Id<wbr/>From<wbr/>Keypair</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.decodeWaku2.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<wbr/>Waku2</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.encodeWaku2.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<wbr/>Waku2</a></li>
|
||||
<li class="current tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.getPublicKey.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>get<wbr/>Public<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.keccak256.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>keccak256</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.randomBytes.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>random<wbr/>Bytes</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.sign.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>sign</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.verifySignature.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>verify<wbr/>Signature</a></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
||||
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
||||
@ -1,4 +1,4 @@
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>randomBytes | @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">
|
||||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>getPublicKeyFromPeerId | @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>
|
||||
@ -14,20 +14,20 @@
|
||||
<ul class="tsd-breadcrumb">
|
||||
<li><a href="../modules.html">@waku/root</a></li>
|
||||
<li><a href="../modules/_waku_enr.html">@waku/enr</a></li>
|
||||
<li><a href="_waku_enr.randomBytes.html">randomBytes</a></li></ul>
|
||||
<h1>Function randomBytes</h1></div>
|
||||
<li><a href="_waku_enr.getPublicKeyFromPeerId.html">getPublicKeyFromPeerId</a></li></ul>
|
||||
<h1>Function getPublicKeyFromPeerId</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><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-signature tsd-anchor-link" id="getPublicKeyFromPeerId">get<wbr/>Public<wbr/>Key<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/Uint8Array" class="tsd-signature-type external" target="_blank">Uint8Array</a><a href="#getPublicKeyFromPeerId" aria-label="Permalink" class="tsd-anchor-icon"><svg class="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>
|
||||
<h5>peerId: <span class="tsd-signature-type">PeerId</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/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:148</li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/enr/src/peer_id.ts#L13">packages/enr/src/peer_id.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">
|
||||
@ -138,24 +138,22 @@
|
||||
<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-enum tsd-parent-kind-module"><a href="../enums/_waku_enr.KeypairType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-8-path"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)" id="icon-8-text"></path></svg>Keypair<wbr/>Type</a></li>
|
||||
<li class="tsd-kind-enum tsd-parent-kind-module"><a href="../enums/_waku_enr.TransportProtocol.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>Transport<wbr/>Protocol</a></li>
|
||||
<li class="tsd-kind-enum tsd-parent-kind-module"><a href="../enums/_waku_enr.TransportProtocolPerIpVersion.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>Transport<wbr/>Protocol<wbr/>Per<wbr/>Ip<wbr/>Version</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_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>ENR</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_waku_enr.Secp256k1Keypair.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>Secp256k1<wbr/>Keypair</a></li>
|
||||
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/_waku_enr.IKeypair.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg>IKeypair</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_waku_enr.EnrCreator.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>Enr<wbr/>Creator</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_waku_enr.EnrDecoder.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>Enr<wbr/>Decoder</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.ERR_INVALID_ID.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>ERR_<wbr/>INVALID_<wbr/>ID</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.ERR_NO_SIGNATURE.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>ERR_<wbr/>NO_<wbr/>SIGNATURE</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.ERR_TYPE_NOT_IMPLEMENTED.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>ERR_<wbr/>TYPE_<wbr/>NOT_<wbr/>IMPLEMENTED</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.MAX_RECORD_SIZE.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>MAX_<wbr/>RECORD_<wbr/>SIZE</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.MULTIADDR_LENGTH_SIZE.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>MULTIADDR_<wbr/>LENGTH_<wbr/>SIZE</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.compressPublicKey.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>compress<wbr/>Public<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createKeypair.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>create<wbr/>Keypair</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createKeypairFromPeerId.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>create<wbr/>Keypair<wbr/>From<wbr/>Peer<wbr/>Id</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createPeerIdFromKeypair.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>create<wbr/>Peer<wbr/>Id<wbr/>From<wbr/>Keypair</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createPeerIdFromPublicKey.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>create<wbr/>Peer<wbr/>Id<wbr/>From<wbr/>Public<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.decodeWaku2.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<wbr/>Waku2</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.encodeWaku2.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<wbr/>Waku2</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.getPublicKey.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>get<wbr/>Public<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.getPrivateKeyFromPeerId.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>get<wbr/>Private<wbr/>Key<wbr/>From<wbr/>Peer<wbr/>Id</a></li>
|
||||
<li class="current tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.getPublicKeyFromPeerId.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>get<wbr/>Public<wbr/>Key<wbr/>From<wbr/>Peer<wbr/>Id</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.keccak256.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>keccak256</a></li>
|
||||
<li class="current tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.randomBytes.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>random<wbr/>Bytes</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.sign.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>sign</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.verifySignature.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>verify<wbr/>Signature</a></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
@ -27,7 +27,7 @@
|
||||
<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/4eacc39a/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/36534af0/packages/enr/src/crypto.ts#L27">packages/enr/src/crypto.ts:27</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">
|
||||
@ -138,24 +138,22 @@
|
||||
<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-enum tsd-parent-kind-module"><a href="../enums/_waku_enr.KeypairType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-8-path"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)" id="icon-8-text"></path></svg>Keypair<wbr/>Type</a></li>
|
||||
<li class="tsd-kind-enum tsd-parent-kind-module"><a href="../enums/_waku_enr.TransportProtocol.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>Transport<wbr/>Protocol</a></li>
|
||||
<li class="tsd-kind-enum tsd-parent-kind-module"><a href="../enums/_waku_enr.TransportProtocolPerIpVersion.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>Transport<wbr/>Protocol<wbr/>Per<wbr/>Ip<wbr/>Version</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_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>ENR</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_waku_enr.Secp256k1Keypair.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>Secp256k1<wbr/>Keypair</a></li>
|
||||
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/_waku_enr.IKeypair.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg>IKeypair</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_waku_enr.EnrCreator.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>Enr<wbr/>Creator</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_waku_enr.EnrDecoder.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>Enr<wbr/>Decoder</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.ERR_INVALID_ID.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>ERR_<wbr/>INVALID_<wbr/>ID</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.ERR_NO_SIGNATURE.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>ERR_<wbr/>NO_<wbr/>SIGNATURE</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.ERR_TYPE_NOT_IMPLEMENTED.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>ERR_<wbr/>TYPE_<wbr/>NOT_<wbr/>IMPLEMENTED</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.MAX_RECORD_SIZE.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>MAX_<wbr/>RECORD_<wbr/>SIZE</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.MULTIADDR_LENGTH_SIZE.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>MULTIADDR_<wbr/>LENGTH_<wbr/>SIZE</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.compressPublicKey.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>compress<wbr/>Public<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createKeypair.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>create<wbr/>Keypair</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createKeypairFromPeerId.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>create<wbr/>Keypair<wbr/>From<wbr/>Peer<wbr/>Id</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createPeerIdFromKeypair.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>create<wbr/>Peer<wbr/>Id<wbr/>From<wbr/>Keypair</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createPeerIdFromPublicKey.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>create<wbr/>Peer<wbr/>Id<wbr/>From<wbr/>Public<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.decodeWaku2.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<wbr/>Waku2</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.encodeWaku2.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<wbr/>Waku2</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.getPublicKey.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>get<wbr/>Public<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.getPrivateKeyFromPeerId.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>get<wbr/>Private<wbr/>Key<wbr/>From<wbr/>Peer<wbr/>Id</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.getPublicKeyFromPeerId.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>get<wbr/>Public<wbr/>Key<wbr/>From<wbr/>Peer<wbr/>Id</a></li>
|
||||
<li class="current tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.keccak256.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>keccak256</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.randomBytes.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>random<wbr/>Bytes</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.sign.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>sign</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.verifySignature.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>verify<wbr/>Signature</a></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
|
||||
@ -37,7 +37,7 @@
|
||||
</div></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"><</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></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/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/36534af0/packages/enr/src/crypto.ts#L13">packages/enr/src/crypto.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">
|
||||
@ -148,24 +148,22 @@
|
||||
<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-enum tsd-parent-kind-module"><a href="../enums/_waku_enr.KeypairType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-8-path"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)" id="icon-8-text"></path></svg>Keypair<wbr/>Type</a></li>
|
||||
<li class="tsd-kind-enum tsd-parent-kind-module"><a href="../enums/_waku_enr.TransportProtocol.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>Transport<wbr/>Protocol</a></li>
|
||||
<li class="tsd-kind-enum tsd-parent-kind-module"><a href="../enums/_waku_enr.TransportProtocolPerIpVersion.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>Transport<wbr/>Protocol<wbr/>Per<wbr/>Ip<wbr/>Version</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_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>ENR</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_waku_enr.Secp256k1Keypair.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>Secp256k1<wbr/>Keypair</a></li>
|
||||
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/_waku_enr.IKeypair.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg>IKeypair</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_waku_enr.EnrCreator.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>Enr<wbr/>Creator</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_waku_enr.EnrDecoder.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>Enr<wbr/>Decoder</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.ERR_INVALID_ID.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>ERR_<wbr/>INVALID_<wbr/>ID</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.ERR_NO_SIGNATURE.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>ERR_<wbr/>NO_<wbr/>SIGNATURE</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.ERR_TYPE_NOT_IMPLEMENTED.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>ERR_<wbr/>TYPE_<wbr/>NOT_<wbr/>IMPLEMENTED</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.MAX_RECORD_SIZE.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>MAX_<wbr/>RECORD_<wbr/>SIZE</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.MULTIADDR_LENGTH_SIZE.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>MULTIADDR_<wbr/>LENGTH_<wbr/>SIZE</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.compressPublicKey.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>compress<wbr/>Public<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createKeypair.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>create<wbr/>Keypair</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createKeypairFromPeerId.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>create<wbr/>Keypair<wbr/>From<wbr/>Peer<wbr/>Id</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createPeerIdFromKeypair.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>create<wbr/>Peer<wbr/>Id<wbr/>From<wbr/>Keypair</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createPeerIdFromPublicKey.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>create<wbr/>Peer<wbr/>Id<wbr/>From<wbr/>Public<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.decodeWaku2.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<wbr/>Waku2</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.encodeWaku2.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<wbr/>Waku2</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.getPublicKey.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>get<wbr/>Public<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.getPrivateKeyFromPeerId.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>get<wbr/>Private<wbr/>Key<wbr/>From<wbr/>Peer<wbr/>Id</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.getPublicKeyFromPeerId.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>get<wbr/>Public<wbr/>Key<wbr/>From<wbr/>Peer<wbr/>Id</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.keccak256.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>keccak256</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.randomBytes.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>random<wbr/>Bytes</a></li>
|
||||
<li class="current tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.sign.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>sign</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.verifySignature.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>verify<wbr/>Signature</a></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
|
||||
@ -33,7 +33,7 @@
|
||||
<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/4eacc39a/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/36534af0/packages/enr/src/crypto.ts#L42">packages/enr/src/crypto.ts:42</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
@ -144,24 +144,22 @@
|
||||
<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-enum tsd-parent-kind-module"><a href="../enums/_waku_enr.KeypairType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-8-path"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)" id="icon-8-text"></path></svg>Keypair<wbr/>Type</a></li>
|
||||
<li class="tsd-kind-enum tsd-parent-kind-module"><a href="../enums/_waku_enr.TransportProtocol.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>Transport<wbr/>Protocol</a></li>
|
||||
<li class="tsd-kind-enum tsd-parent-kind-module"><a href="../enums/_waku_enr.TransportProtocolPerIpVersion.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg>Transport<wbr/>Protocol<wbr/>Per<wbr/>Ip<wbr/>Version</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_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>ENR</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_waku_enr.Secp256k1Keypair.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>Secp256k1<wbr/>Keypair</a></li>
|
||||
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/_waku_enr.IKeypair.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg>IKeypair</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_waku_enr.EnrCreator.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>Enr<wbr/>Creator</a></li>
|
||||
<li class="tsd-kind-class tsd-parent-kind-module"><a href="../classes/_waku_enr.EnrDecoder.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>Enr<wbr/>Decoder</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.ERR_INVALID_ID.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>ERR_<wbr/>INVALID_<wbr/>ID</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.ERR_NO_SIGNATURE.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>ERR_<wbr/>NO_<wbr/>SIGNATURE</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.ERR_TYPE_NOT_IMPLEMENTED.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>ERR_<wbr/>TYPE_<wbr/>NOT_<wbr/>IMPLEMENTED</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.MAX_RECORD_SIZE.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>MAX_<wbr/>RECORD_<wbr/>SIZE</a></li>
|
||||
<li class="tsd-kind-variable tsd-parent-kind-module"><a href="../variables/_waku_enr.MULTIADDR_LENGTH_SIZE.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>MULTIADDR_<wbr/>LENGTH_<wbr/>SIZE</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.compressPublicKey.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>compress<wbr/>Public<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createKeypair.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>create<wbr/>Keypair</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createKeypairFromPeerId.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>create<wbr/>Keypair<wbr/>From<wbr/>Peer<wbr/>Id</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createPeerIdFromKeypair.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>create<wbr/>Peer<wbr/>Id<wbr/>From<wbr/>Keypair</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.createPeerIdFromPublicKey.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>create<wbr/>Peer<wbr/>Id<wbr/>From<wbr/>Public<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.decodeWaku2.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<wbr/>Waku2</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.encodeWaku2.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<wbr/>Waku2</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.getPublicKey.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>get<wbr/>Public<wbr/>Key</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.getPrivateKeyFromPeerId.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>get<wbr/>Private<wbr/>Key<wbr/>From<wbr/>Peer<wbr/>Id</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.getPublicKeyFromPeerId.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>get<wbr/>Public<wbr/>Key<wbr/>From<wbr/>Peer<wbr/>Id</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.keccak256.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>keccak256</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.randomBytes.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>random<wbr/>Bytes</a></li>
|
||||
<li class="tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.sign.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>sign</a></li>
|
||||
<li class="current tsd-kind-function tsd-parent-kind-module"><a href="_waku_enr.verifySignature.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>verify<wbr/>Signature</a></li></ul></nav></div></div>
|
||||
<div class="container tsd-generator">
|
||||
|
||||
@ -42,7 +42,7 @@ decode incoming messages.</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/4eacc39a/packages/message-encryption/src/ecies.ts#L159">packages/message-encryption/src/ecies.ts:159</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/message-encryption/src/ecies.ts#L159">packages/message-encryption/src/ecies.ts:159</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,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/4eacc39a/packages/message-encryption/src/ecies.ts#L83">packages/message-encryption/src/ecies.ts:83</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/message-encryption/src/ecies.ts#L83">packages/message-encryption/src/ecies.ts:83</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">
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
</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/4eacc39a/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/36534af0/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">
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
</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/4eacc39a/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/36534af0/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">
|
||||
|
||||
@ -42,7 +42,7 @@ decode incoming messages.</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/4eacc39a/packages/message-encryption/src/symmetric.ts#L154">packages/message-encryption/src/symmetric.ts:154</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/message-encryption/src/symmetric.ts#L154">packages/message-encryption/src/symmetric.ts:154</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,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/4eacc39a/packages/message-encryption/src/symmetric.ts#L78">packages/message-encryption/src/symmetric.ts:78</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/message-encryption/src/symmetric.ts#L78">packages/message-encryption/src/symmetric.ts:78</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,7 +36,7 @@
|
||||
<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/4eacc39a/packages/peer-exchange/src/waku_peer_exchange.ts#L120">packages/peer-exchange/src/waku_peer_exchange.ts:120</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/peer-exchange/src/waku_peer_exchange.ts#L120">packages/peer-exchange/src/waku_peer_exchange.ts:120</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">
|
||||
|
||||
@ -33,7 +33,7 @@
|
||||
<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/4eacc39a/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L213">packages/peer-exchange/src/waku_peer_exchange_discovery.ts:213</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/peer-exchange/src/waku_peer_exchange_discovery.ts#L211">packages/peer-exchange/src/waku_peer_exchange_discovery.ts:211</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">
|
||||
|
||||
@ -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"><</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></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/proto/src/lib/filter.ts#L440">packages/proto/src/lib/filter.ts:440</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/filter.ts#L440">packages/proto/src/lib/filter.ts:440</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">
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
<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/4eacc39a/packages/proto/src/lib/filter.ts#L533">packages/proto/src/lib/filter.ts:533</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/filter.ts#L533">packages/proto/src/lib/filter.ts:533</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">
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
<h5>obj: <span class="tsd-signature-type">Partial</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><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/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/4eacc39a/packages/proto/src/lib/filter.ts#L529">packages/proto/src/lib/filter.ts:529</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/filter.ts#L529">packages/proto/src/lib/filter.ts:529</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">
|
||||
|
||||
@ -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"><</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></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/proto/src/lib/filter.ts#L25">packages/proto/src/lib/filter.ts:25</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/filter.ts#L25">packages/proto/src/lib/filter.ts:25</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">
|
||||
|
||||
@ -30,7 +30,7 @@
|
||||
<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/4eacc39a/packages/proto/src/lib/filter.ts#L74">packages/proto/src/lib/filter.ts:74</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/filter.ts#L74">packages/proto/src/lib/filter.ts:74</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">
|
||||
|
||||
@ -30,7 +30,7 @@
|
||||
<h5>obj: <span class="tsd-signature-type">Partial</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><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/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/4eacc39a/packages/proto/src/lib/filter.ts#L70">packages/proto/src/lib/filter.ts:70</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/filter.ts#L70">packages/proto/src/lib/filter.ts:70</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">
|
||||
|
||||
@ -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"><</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></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/proto/src/lib/filter.ts#L81">packages/proto/src/lib/filter.ts:81</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/filter.ts#L81">packages/proto/src/lib/filter.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">
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
<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/4eacc39a/packages/proto/src/lib/filter.ts#L155">packages/proto/src/lib/filter.ts:155</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/filter.ts#L155">packages/proto/src/lib/filter.ts:155</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">
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
<h5>obj: <span class="tsd-signature-type">Partial</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><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/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/4eacc39a/packages/proto/src/lib/filter.ts#L151">packages/proto/src/lib/filter.ts:151</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/filter.ts#L151">packages/proto/src/lib/filter.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">
|
||||
|
||||
@ -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"><</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></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/proto/src/lib/filter.ts#L234">packages/proto/src/lib/filter.ts:234</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/filter.ts#L234">packages/proto/src/lib/filter.ts:234</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">
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
<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/4eacc39a/packages/proto/src/lib/filter.ts#L302">packages/proto/src/lib/filter.ts:302</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/filter.ts#L302">packages/proto/src/lib/filter.ts:302</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">
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
<h5>obj: <span class="tsd-signature-type">Partial</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><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/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/4eacc39a/packages/proto/src/lib/filter.ts#L298">packages/proto/src/lib/filter.ts:298</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/filter.ts#L298">packages/proto/src/lib/filter.ts:298</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">
|
||||
|
||||
@ -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"><</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">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/proto/src/lib/filter.ts#L167">packages/proto/src/lib/filter.ts:167</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/filter.ts#L167">packages/proto/src/lib/filter.ts:167</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">
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
<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/4eacc39a/packages/proto/src/lib/filter.ts#L220">packages/proto/src/lib/filter.ts:220</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/filter.ts#L220">packages/proto/src/lib/filter.ts:220</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">
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
<h5>obj: <span class="tsd-signature-type">Partial</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><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/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/4eacc39a/packages/proto/src/lib/filter.ts#L216">packages/proto/src/lib/filter.ts:216</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/filter.ts#L216">packages/proto/src/lib/filter.ts:216</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">
|
||||
|
||||
@ -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"><</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="../interfaces/_waku_proto.proto_filter.RateLimitProof-1.html" class="tsd-signature-type" data-tsd-kind="Interface">RateLimitProof</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/proto/src/lib/filter.ts#L320">packages/proto/src/lib/filter.ts:320</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/filter.ts#L320">packages/proto/src/lib/filter.ts:320</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">
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
<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="../interfaces/_waku_proto.proto_filter.RateLimitProof-1.html" class="tsd-signature-type" data-tsd-kind="Interface">RateLimitProof</a></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/proto/src/lib/filter.ts#L423">packages/proto/src/lib/filter.ts:423</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/filter.ts#L423">packages/proto/src/lib/filter.ts:423</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">
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
<h5>obj: <span class="tsd-signature-type">Partial</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="../interfaces/_waku_proto.proto_filter.RateLimitProof-1.html" class="tsd-signature-type" data-tsd-kind="Interface">RateLimitProof</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/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/4eacc39a/packages/proto/src/lib/filter.ts#L419">packages/proto/src/lib/filter.ts:419</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/filter.ts#L419">packages/proto/src/lib/filter.ts:419</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">
|
||||
|
||||
@ -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"><</span><a href="../interfaces/_waku_proto.proto_lightpush.PushRequest-1.html" class="tsd-signature-type" data-tsd-kind="Interface">PushRequest</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/proto/src/lib/light_push.ts#L19">packages/proto/src/lib/light_push.ts:19</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/light_push.ts#L19">packages/proto/src/lib/light_push.ts:19</a></li></ul></aside></li></ul></section></div>
|
||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||||
<div class="tsd-navigation settings">
|
||||
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
<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_lightpush.PushRequest-1.html" class="tsd-signature-type" data-tsd-kind="Interface">PushRequest</a></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/proto/src/lib/light_push.ts#L79">packages/proto/src/lib/light_push.ts:79</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/light_push.ts#L79">packages/proto/src/lib/light_push.ts:79</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">
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
<h5>obj: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/_waku_proto.proto_lightpush.PushRequest-1.html" class="tsd-signature-type" data-tsd-kind="Interface">PushRequest</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/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/4eacc39a/packages/proto/src/lib/light_push.ts#L75">packages/proto/src/lib/light_push.ts:75</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/light_push.ts#L75">packages/proto/src/lib/light_push.ts:75</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">
|
||||
|
||||
@ -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"><</span><a href="../modules/_waku_proto.proto_lightpush.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto_lightpush</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/_waku_proto.proto_lightpush.PushResponse-1.html" class="tsd-signature-type" data-tsd-kind="Interface">PushResponse</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/proto/src/lib/light_push.ts#L92">packages/proto/src/lib/light_push.ts:92</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/light_push.ts#L92">packages/proto/src/lib/light_push.ts:92</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">
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
<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_lightpush.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto_lightpush</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/_waku_proto.proto_lightpush.PushResponse-1.html" class="tsd-signature-type" data-tsd-kind="Interface">PushResponse</a></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/proto/src/lib/light_push.ts#L149">packages/proto/src/lib/light_push.ts:149</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/light_push.ts#L149">packages/proto/src/lib/light_push.ts:149</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">
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
<h5>obj: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="../modules/_waku_proto.proto_lightpush.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto_lightpush</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/_waku_proto.proto_lightpush.PushResponse-1.html" class="tsd-signature-type" data-tsd-kind="Interface">PushResponse</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/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/4eacc39a/packages/proto/src/lib/light_push.ts#L145">packages/proto/src/lib/light_push.ts:145</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/light_push.ts#L145">packages/proto/src/lib/light_push.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">
|
||||
|
||||
@ -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"><</span><a href="../interfaces/_waku_proto.proto_lightpush.PushRpc-1.html" class="tsd-signature-type" data-tsd-kind="Interface">PushRpc</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/proto/src/lib/light_push.ts#L163">packages/proto/src/lib/light_push.ts:163</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/light_push.ts#L163">packages/proto/src/lib/light_push.ts:163</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">
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
<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_lightpush.PushRpc-1.html" class="tsd-signature-type" data-tsd-kind="Interface">PushRpc</a></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/proto/src/lib/light_push.ts#L234">packages/proto/src/lib/light_push.ts:234</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/light_push.ts#L234">packages/proto/src/lib/light_push.ts:234</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">
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
<h5>obj: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/_waku_proto.proto_lightpush.PushRpc-1.html" class="tsd-signature-type" data-tsd-kind="Interface">PushRpc</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/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/4eacc39a/packages/proto/src/lib/light_push.ts#L230">packages/proto/src/lib/light_push.ts:230</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/light_push.ts#L230">packages/proto/src/lib/light_push.ts:230</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">
|
||||
|
||||
@ -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"><</span><a href="../modules/_waku_proto.proto_lightpush.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto_lightpush</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/_waku_proto.proto_lightpush.RateLimitProof-1.html" class="tsd-signature-type" data-tsd-kind="Interface">RateLimitProof</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/proto/src/lib/light_push.ts#L252">packages/proto/src/lib/light_push.ts:252</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/light_push.ts#L252">packages/proto/src/lib/light_push.ts:252</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">
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
<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_lightpush.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto_lightpush</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/_waku_proto.proto_lightpush.RateLimitProof-1.html" class="tsd-signature-type" data-tsd-kind="Interface">RateLimitProof</a></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/proto/src/lib/light_push.ts#L355">packages/proto/src/lib/light_push.ts:355</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/light_push.ts#L355">packages/proto/src/lib/light_push.ts:355</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">
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
<h5>obj: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="../modules/_waku_proto.proto_lightpush.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto_lightpush</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/_waku_proto.proto_lightpush.RateLimitProof-1.html" class="tsd-signature-type" data-tsd-kind="Interface">RateLimitProof</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/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/4eacc39a/packages/proto/src/lib/light_push.ts#L351">packages/proto/src/lib/light_push.ts:351</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/light_push.ts#L351">packages/proto/src/lib/light_push.ts:351</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">
|
||||
|
||||
@ -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"><</span><a href="../modules/_waku_proto.proto_lightpush.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto_lightpush</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/_waku_proto.proto_lightpush.WakuMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuMessage</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/4eacc39a/packages/proto/src/lib/light_push.ts#L372">packages/proto/src/lib/light_push.ts:372</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/light_push.ts#L372">packages/proto/src/lib/light_push.ts:372</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">
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
<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_lightpush.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto_lightpush</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/_waku_proto.proto_lightpush.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/4eacc39a/packages/proto/src/lib/light_push.ts#L465">packages/proto/src/lib/light_push.ts:465</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/light_push.ts#L465">packages/proto/src/lib/light_push.ts:465</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">
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
<h5>obj: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="../modules/_waku_proto.proto_lightpush.html" class="tsd-signature-type" data-tsd-kind="Namespace">proto_lightpush</a><span class="tsd-signature-symbol">.</span><a href="../interfaces/_waku_proto.proto_lightpush.WakuMessage-1.html" class="tsd-signature-type" data-tsd-kind="Interface">WakuMessage</a><span class="tsd-signature-symbol">></span></h5></li></ul></div>
|
||||
<h4 class="tsd-returns-title">Returns <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/4eacc39a/packages/proto/src/lib/light_push.ts#L461">packages/proto/src/lib/light_push.ts:461</a></li></ul></aside></li></ul></section></div>
|
||||
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/36534af0/packages/proto/src/lib/light_push.ts#L461">packages/proto/src/lib/light_push.ts:461</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">
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user