js-waku/classes/_waku_enr.ENR.html

913 lines
148 KiB
HTML
Raw Normal View History

2022-12-06 00:06:29 +00:00
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ENR | @waku/root</title><meta name="description" content="Documentation for @waku/root"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2022-09-09 16:11:18 +00:00
<div class="tsd-toolbar-contents container">
<div class="table-cell" id="tsd-search" data-base="..">
2022-12-06 00:06:29 +00:00
<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>
2022-09-09 16:11:18 +00:00
<ul class="results">
<li class="state loading">Preparing search index...</li>
2022-12-06 00:06:29 +00:00
<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>
2022-09-09 16:11:18 +00:00
<div class="container container-main">
<div class="col-8 col-content">
<div class="tsd-page-title">
<ul class="tsd-breadcrumb">
2022-12-06 00:06:29 +00:00
<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.ENR.html">ENR</a></li></ul>
2022-09-09 16:11:18 +00:00
<h1>Class ENR</h1></div>
<section class="tsd-panel tsd-hierarchy">
<h4>Hierarchy</h4>
<ul class="tsd-hierarchy">
2022-12-22 22:34:54 +00:00
<li><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/_waku_interfaces.ENRKey.html" class="tsd-signature-type" data-tsd-kind="Type alias">ENRKey</a><span class="tsd-signature-symbol">, </span><a href="../types/_waku_interfaces.ENRValue.html" class="tsd-signature-type" data-tsd-kind="Type alias">ENRValue</a><span class="tsd-signature-symbol">&gt;</span>
2022-09-09 16:11:18 +00:00
<ul class="tsd-hierarchy">
2022-12-21 05:38:11 +00:00
<li><span class="target">ENR</span></li></ul></li></ul></section>
<section class="tsd-panel">
<h4>Implements</h4>
<ul class="tsd-hierarchy">
2022-12-22 22:34:54 +00:00
<li><a href="../interfaces/_waku_interfaces.IEnr.html" class="tsd-signature-type" data-tsd-kind="Interface">IEnr</a></li></ul></section><aside class="tsd-sources">
2022-09-09 16:11:18 +00:00
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L41">packages/enr/src/enr.ts:41</a></li></ul></aside>
2022-09-09 16:11:18 +00:00
<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>
2022-12-06 00:06:29 +00:00
<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>
2022-09-09 16:11:18 +00:00
</div></section>
<section class="tsd-index-section">
<h3 class="tsd-index-heading">Properties</h3>
2022-12-06 00:06:29 +00:00
<div class="tsd-index-list"><a href="_waku_enr.ENR.html#_toStringTag_" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>[to<wbr/>String<wbr/>Tag]</span></a>
<a href="_waku_enr.ENR.html#peerId" class="tsd-index-link tsd-kind-property tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>peer<wbr/>Id?</span></a>
<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>
2022-12-21 05:38:11 +00:00
<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>
2022-12-06 00:06:29 +00:00
<a href="_waku_enr.ENR.html#size" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>size</span></a>
<a href="_waku_enr.ENR.html#RECORD_PREFIX" class="tsd-index-link tsd-kind-property tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>RECORD_<wbr/>PREFIX</span></a>
<a href="_waku_enr.ENR.html#_species_" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>[species]</span></a>
2022-09-09 16:11:18 +00:00
</div></section>
<section class="tsd-index-section">
<h3 class="tsd-index-heading">Accessors</h3>
2022-12-06 00:06:29 +00:00
<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>
<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>
2022-09-09 16:11:18 +00:00
</div></section>
<section class="tsd-index-section">
<h3 class="tsd-index-heading">Methods</h3>
2022-12-06 00:06:29 +00:00
<div class="tsd-index-list"><a href="_waku_enr.ENR.html#_iterator_" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>[iterator]</span></a>
<a href="_waku_enr.ENR.html#clear" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>clear</span></a>
<a href="_waku_enr.ENR.html#delete" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>delete</span></a>
<a href="_waku_enr.ENR.html#encode" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>encode</span></a>
<a href="_waku_enr.ENR.html#encodeToValues" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>encode<wbr/>To<wbr/>Values</span></a>
<a href="_waku_enr.ENR.html#encodeTxt" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>encode<wbr/>Txt</span></a>
<a href="_waku_enr.ENR.html#entries" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>entries</span></a>
<a href="_waku_enr.ENR.html#forEach" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>for<wbr/>Each</span></a>
<a href="_waku_enr.ENR.html#get" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get</span></a>
<a href="_waku_enr.ENR.html#getFullMultiaddr" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Full<wbr/>Multiaddr</span></a>
<a href="_waku_enr.ENR.html#getFullMultiaddrs" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Full<wbr/>Multiaddrs</span></a>
<a href="_waku_enr.ENR.html#getLocationMultiaddr" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Location<wbr/>Multiaddr</span></a>
<a href="_waku_enr.ENR.html#has" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>has</span></a>
<a href="_waku_enr.ENR.html#keys" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>keys</span></a>
<a href="_waku_enr.ENR.html#set" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>set</span></a>
<a href="_waku_enr.ENR.html#setLocationMultiaddr" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>set<wbr/>Location<wbr/>Multiaddr</span></a>
<a href="_waku_enr.ENR.html#sign" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>sign</span></a>
<a href="_waku_enr.ENR.html#values" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>values</span></a>
<a href="_waku_enr.ENR.html#verify" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>verify</span></a>
<a href="_waku_enr.ENR.html#create" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>create</span></a>
<a href="_waku_enr.ENR.html#createFromPeerId" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>create<wbr/>From<wbr/>Peer<wbr/>Id</span></a>
<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>
2022-09-09 16:11:18 +00:00
</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">
2022-12-21 05:38:11 +00:00
<li class="tsd-signature tsd-anchor-link" id="constructor.new_ENR">new ENR<span class="tsd-signature-symbol">(</span>kvs<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span>, seq<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">bigint</span>, signature<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><a href="#constructor.new_ENR" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
2022-09-09 16:11:18 +00:00
<li class="tsd-description">
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>kvs: <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = {}</span></h5></li>
<li>
<h5>seq: <span class="tsd-signature-type">bigint</span><span class="tsd-signature-symbol"> = ...</span></h5></li>
<li>
2022-12-21 05:38:11 +00:00
<h5><code class="tsd-tag ts-flagOptional">Optional</code> signature: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
2022-12-06 00:06:29 +00:00
<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">
2022-09-09 16:11:18 +00:00
<p>Overrides Map&lt;ENRKey, ENRValue&gt;.constructor</p>
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L47">packages/enr/src/enr.ts:47</a></li></ul></aside></li></ul></section></section>
2022-09-09 16:11:18 +00:00
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="_toStringTag_" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>[to<wbr/>String<wbr/>Tag]</span><a href="#_toStringTag_" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">[to<wbr/>String<wbr/>Tag]<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
2022-12-22 22:34:54 +00:00
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#_toStringTag_">[toStringTag]</a></p>
2023-02-09 07:47:21 +00:00
<p>Inherited from Map.__@toStringTag@2005</p>
2022-09-09 16:11:18 +00:00
<ul>
<li>Defined in node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts:135</li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="peerId" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>peer<wbr/>Id</span><a href="#peerId" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">peer<wbr/>Id<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">PeerId</span></div><aside class="tsd-sources">
2022-12-22 22:34:54 +00:00
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#peerId">peerId</a></p>
2022-09-09 16:11:18 +00:00
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L45">packages/enr/src/enr.ts:45</a></li></ul></aside></section>
2022-09-09 16:11:18 +00:00
<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">
2022-12-22 22:34:54 +00:00
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#seq">seq</a></p>
2022-09-09 16:11:18 +00:00
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L43">packages/enr/src/enr.ts:43</a></li></ul></aside></section>
2022-09-09 16:11:18 +00:00
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="signature" class="tsd-anchor"></a>
2022-12-21 05:38:11 +00:00
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>signature</span><a href="#signature" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">signature<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Uint8Array</span></div><aside class="tsd-sources">
2022-12-22 22:34:54 +00:00
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#signature">signature</a></p>
2022-09-09 16:11:18 +00:00
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L44">packages/enr/src/enr.ts:44</a></li></ul></aside></section>
2022-09-09 16:11:18 +00:00
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="size" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>size</span><a href="#size" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
2022-12-06 00:06:29 +00:00
<div class="tsd-signature">size<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
<div class="tsd-comment tsd-typography">
<h3>Returns</h3><p>the number of elements in the Map.</p>
</div><aside class="tsd-sources">
2022-12-22 22:34:54 +00:00
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#size">size</a></p>
2022-09-09 16:11:18 +00:00
<p>Inherited from Map.size</p>
<ul>
2022-12-06 00:06:29 +00:00
<li>Defined in node_modules/typescript/lib/lib.es2015.collection.d.ts:48</li></ul></aside></section>
2022-09-09 16:11:18 +00:00
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="RECORD_PREFIX" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>RECORD_<wbr/>PREFIX</span><a href="#RECORD_PREFIX" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">RECORD_<wbr/>PREFIX<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;enr:&quot;</span><span class="tsd-signature-symbol"> = &quot;enr:&quot;</span></div><aside class="tsd-sources">
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L42">packages/enr/src/enr.ts:42</a></li></ul></aside></section>
2022-09-09 16:11:18 +00:00
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="_species_" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span>[species]</span><a href="#_species_" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">[species]<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">MapConstructor</span></div><aside class="tsd-sources">
2023-02-09 07:47:21 +00:00
<p>Inherited from Map.__@species@2613</p>
2022-09-09 16:11:18 +00:00
<ul>
<li>Defined in node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts:317</li></ul></aside></section></section>
<section class="tsd-panel-group tsd-member-group">
<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">
2022-12-22 22:34:54 +00:00
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#id">id</a></p>
2022-09-09 16:11:18 +00:00
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L160">packages/enr/src/enr.ts:160</a></li></ul></aside></li></ul></section>
2022-09-09 16:11:18 +00:00
<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">
2022-12-22 22:34:54 +00:00
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#ip">ip</a></p>
2022-09-09 16:11:18 +00:00
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L201">packages/enr/src/enr.ts:201</a></li></ul></aside></li>
2022-09-09 16:11:18 +00:00
<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">
2022-12-22 22:34:54 +00:00
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#ip">ip</a></p>
2022-09-09 16:11:18 +00:00
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L210">packages/enr/src/enr.ts:210</a></li></ul></aside></li></ul></section>
2022-09-09 16:11:18 +00:00
<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">
2022-12-22 22:34:54 +00:00
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#ip6">ip6</a></p>
2022-09-09 16:11:18 +00:00
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L252">packages/enr/src/enr.ts:252</a></li></ul></aside></li>
2022-09-09 16:11:18 +00:00
<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">
2022-12-22 22:34:54 +00:00
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#ip6">ip6</a></p>
2022-09-09 16:11:18 +00:00
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L261">packages/enr/src/enr.ts:261</a></li></ul></aside></li></ul></section>
2022-09-09 16:11:18 +00:00
<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">
2022-12-06 00:06:29 +00:00
<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>
2022-09-09 16:11:18 +00:00
<li class="tsd-description">
2022-12-06 00:06:29 +00:00
<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">
2022-09-09 16:11:18 +00:00
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L184">packages/enr/src/enr.ts:184</a></li></ul></aside></li></ul></section>
2022-09-09 16:11:18 +00:00
<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">
2022-12-06 00:06:29 +00:00
<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>
2022-09-09 16:11:18 +00:00
<li class="tsd-description">
2022-12-06 00:06:29 +00:00
<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">
2022-09-09 16:11:18 +00:00
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L166">packages/enr/src/enr.ts:166</a></li></ul></aside></li></ul></section>
2022-09-09 16:11:18 +00:00
<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
2022-12-06 00:06:29 +00:00
(ip, tcp, etc) then the usage of <a href="_waku_enr.ENR.html#getLocationMultiaddr">getLocationMultiaddr</a> should be preferred.</p>
2022-09-09 16:11:18 +00:00
<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">
2022-12-22 22:34:54 +00:00
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#multiaddrs">multiaddrs</a></p>
2022-09-09 16:11:18 +00:00
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L315">packages/enr/src/enr.ts:315</a></li></ul></aside></li>
2022-09-09 16:11:18 +00:00
<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
2022-12-06 00:06:29 +00:00
(ip, tcp, etc) then the usage of <a href="_waku_enr.ENR.html#setLocationMultiaddr">setLocationMultiaddr</a> should be preferred.
2022-09-09 16:11:18 +00:00
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">
2022-12-22 22:34:54 +00:00
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#multiaddrs">multiaddrs</a></p>
2022-09-09 16:11:18 +00:00
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L335">packages/enr/src/enr.ts:335</a></li></ul></aside></li></ul></section>
2022-09-09 16:11:18 +00:00
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="nodeId" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>node<wbr/>Id</span><a href="#nodeId" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
<li class="tsd-signature" id="nodeId.nodeId-1"><span class="tsd-signature-symbol">get</span> nodeId<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></li>
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
2022-12-22 22:34:54 +00:00
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#nodeId">nodeId</a></p>
2022-09-09 16:11:18 +00:00
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L192">packages/enr/src/enr.ts:192</a></li></ul></aside></li></ul></section>
2022-09-09 16:11:18 +00:00
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="publicKey" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>public<wbr/>Key</span><a href="#publicKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
<li class="tsd-signature" id="publicKey.publicKey-1"><span class="tsd-signature-symbol">get</span> publicKey<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></li>
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources">
2022-12-22 22:34:54 +00:00
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#publicKey">publicKey</a></p>
2022-09-09 16:11:18 +00:00
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L175">packages/enr/src/enr.ts:175</a></li></ul></aside></li></ul></section>
2022-09-09 16:11:18 +00:00
<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">
2022-12-22 22:34:54 +00:00
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#tcp">tcp</a></p>
2022-09-09 16:11:18 +00:00
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L218">packages/enr/src/enr.ts:218</a></li></ul></aside></li>
2022-09-09 16:11:18 +00:00
<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">
2022-12-22 22:34:54 +00:00
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#tcp">tcp</a></p>
2022-09-09 16:11:18 +00:00
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L227">packages/enr/src/enr.ts:227</a></li></ul></aside></li></ul></section>
2022-09-09 16:11:18 +00:00
<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">
2022-12-22 22:34:54 +00:00
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#tcp6">tcp6</a></p>
2022-09-09 16:11:18 +00:00
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L269">packages/enr/src/enr.ts:269</a></li></ul></aside></li>
2022-09-09 16:11:18 +00:00
<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">
2022-12-22 22:34:54 +00:00
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#tcp6">tcp6</a></p>
2022-09-09 16:11:18 +00:00
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L278">packages/enr/src/enr.ts:278</a></li></ul></aside></li></ul></section>
2022-09-09 16:11:18 +00:00
<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">
2022-12-22 22:34:54 +00:00
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#udp">udp</a></p>
2022-09-09 16:11:18 +00:00
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L235">packages/enr/src/enr.ts:235</a></li></ul></aside></li>
2022-09-09 16:11:18 +00:00
<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">
2022-12-22 22:34:54 +00:00
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#udp">udp</a></p>
2022-09-09 16:11:18 +00:00
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L244">packages/enr/src/enr.ts:244</a></li></ul></aside></li></ul></section>
2022-09-09 16:11:18 +00:00
<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">
2022-12-22 22:34:54 +00:00
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#udp6">udp6</a></p>
2022-09-09 16:11:18 +00:00
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L286">packages/enr/src/enr.ts:286</a></li></ul></aside></li>
2022-09-09 16:11:18 +00:00
<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">
2022-12-22 22:34:54 +00:00
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#udp6">udp6</a></p>
2022-09-09 16:11:18 +00:00
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L295">packages/enr/src/enr.ts:295</a></li></ul></aside></li></ul></section>
2022-09-09 16:11:18 +00:00
<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">
2022-12-22 22:34:54 +00:00
<li class="tsd-signature" id="waku2.waku2-1"><span class="tsd-signature-symbol">get</span> waku2<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_waku_interfaces.Waku2.html" class="tsd-signature-type" data-tsd-kind="Interface">Waku2</a></li>
2022-09-09 16:11:18 +00:00
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Get the <code>waku2</code> field from ENR.</p>
</div>
2022-12-22 22:34:54 +00:00
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_waku_interfaces.Waku2.html" class="tsd-signature-type" data-tsd-kind="Interface">Waku2</a></h4><aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#waku2">waku2</a></p>
2022-09-09 16:11:18 +00:00
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L448">packages/enr/src/enr.ts:448</a></li></ul></aside></li>
2022-12-22 22:34:54 +00:00
<li class="tsd-signature" id="waku2.waku2-2"><span class="tsd-signature-symbol">set</span> waku2<span class="tsd-signature-symbol">(</span>waku2<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_waku_interfaces.Waku2.html" class="tsd-signature-type" data-tsd-kind="Interface">Waku2</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
2022-09-09 16:11:18 +00:00
<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>
2022-12-22 22:34:54 +00:00
<h5>waku2: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/_waku_interfaces.Waku2.html" class="tsd-signature-type" data-tsd-kind="Interface">Waku2</a></h5></li></ul></div>
2022-09-09 16:11:18 +00:00
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
2022-12-22 22:34:54 +00:00
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#waku2">waku2</a></p>
2022-09-09 16:11:18 +00:00
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L458">packages/enr/src/enr.ts:458</a></li></ul></aside></li></ul></section></section>
2022-09-09 16:11:18 +00:00
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="_iterator_" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>[iterator]</span><a href="#_iterator_" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external">
<li class="tsd-signature tsd-anchor-link" id="_iterator_._iterator_-1">[iterator]<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">IterableIterator</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">&gt;</span><a href="#_iterator_._iterator_-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Returns an iterable of entries in the map.</p>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">IterableIterator</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
2022-12-22 22:34:54 +00:00
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#_iterator_">[iterator]</a></p>
2023-02-09 07:47:21 +00:00
<p>Inherited from Map.__@iterator@2003</p>
2022-09-09 16:11:18 +00:00
<ul>
<li>Defined in node_modules/typescript/lib/lib.es2015.iterable.d.ts:121</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="clear" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>clear</span><a href="#clear" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external">
<li class="tsd-signature tsd-anchor-link" id="clear.clear-1">clear<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#clear.clear-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
2022-12-22 22:34:54 +00:00
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#clear">clear</a></p>
2022-09-09 16:11:18 +00:00
<p>Inherited from Map.clear</p>
<ul>
2022-12-06 00:06:29 +00:00
<li>Defined in node_modules/typescript/lib/lib.es2015.collection.d.ts:23</li></ul></aside></li></ul></section>
2022-09-09 16:11:18 +00:00
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="delete" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>delete</span><a href="#delete" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external">
<li class="tsd-signature tsd-anchor-link" id="delete.delete-1">delete<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#delete.delete-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
2022-12-06 00:06:29 +00:00
<div class="tsd-comment tsd-typography">
<h3>Returns</h3><p>true if an element in the Map existed and has been removed, or false if the element does not exist.</p>
</div>
2022-09-09 16:11:18 +00:00
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>key: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
2022-12-22 22:34:54 +00:00
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#delete">delete</a></p>
2022-09-09 16:11:18 +00:00
<p>Inherited from Map.delete</p>
<ul>
2022-12-06 00:06:29 +00:00
<li>Defined in node_modules/typescript/lib/lib.es2015.collection.d.ts:27</li></ul></aside></li></ul></section>
2022-09-09 16:11:18 +00:00
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="encode" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>encode</span><a href="#encode" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-anchor-link" id="encode.encode-1">encode<span class="tsd-signature-symbol">(</span>privateKey<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span><a href="#encode.encode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> privateKey: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
2022-12-22 22:34:54 +00:00
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#encode">encode</a></p>
2022-09-09 16:11:18 +00:00
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L511">packages/enr/src/enr.ts:511</a></li></ul></aside></li></ul></section>
2022-09-09 16:11:18 +00:00
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="encodeToValues" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>encode<wbr/>To<wbr/>Values</span><a href="#encodeToValues" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-anchor-link" id="encodeToValues.encodeToValues-1">encode<wbr/>To<wbr/>Values<span class="tsd-signature-symbol">(</span>privateKey<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#encodeToValues.encodeToValues-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> privateKey: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L488">packages/enr/src/enr.ts:488</a></li></ul></aside></li></ul></section>
2022-09-09 16:11:18 +00:00
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="encodeTxt" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>encode<wbr/>Txt</span><a href="#encodeTxt" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-anchor-link" id="encodeTxt.encodeTxt-1">encode<wbr/>Txt<span class="tsd-signature-symbol">(</span>privateKey<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><a href="#encodeTxt.encodeTxt-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> privateKey: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L521">packages/enr/src/enr.ts:521</a></li></ul></aside></li></ul></section>
2022-09-09 16:11:18 +00:00
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="entries" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>entries</span><a href="#entries" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external">
<li class="tsd-signature tsd-anchor-link" id="entries.entries-1">entries<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">IterableIterator</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">&gt;</span><a href="#entries.entries-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Returns an iterable of key, value pairs for every entry in the map.</p>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">IterableIterator</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
2022-12-22 22:34:54 +00:00
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#entries">entries</a></p>
2022-09-09 16:11:18 +00:00
<p>Inherited from Map.entries</p>
<ul>
<li>Defined in node_modules/typescript/lib/lib.es2015.iterable.d.ts:126</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="forEach" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>for<wbr/>Each</span><a href="#forEach" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external">
<li class="tsd-signature tsd-anchor-link" id="forEach.forEach-1">for<wbr/>Each<span class="tsd-signature-symbol">(</span>callbackfn<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span>, key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, map<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span>, thisArg<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#forEach.forEach-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
2022-12-06 00:06:29 +00:00
<div class="tsd-comment tsd-typography"><p>Executes a provided function once per each key/value pair in the Map, in insertion order.</p>
</div>
2022-09-09 16:11:18 +00:00
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>callbackfn: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span>, key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, map<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span></h5>
<ul class="tsd-parameters">
<li class="tsd-parameter-signature">
<ul class="tsd-signatures tsd-kind-type-literal tsd-is-external">
<li class="tsd-signature"><span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span>, key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, map<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
<li class="tsd-description">
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>value: <span class="tsd-signature-type">Uint8Array</span></h5></li>
<li>
<h5>key: <span class="tsd-signature-type">string</span></h5></li>
<li>
<h5>map: <span class="tsd-signature-type">Map</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li>
<li>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> thisArg: <span class="tsd-signature-type">any</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
2022-12-22 22:34:54 +00:00
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#forEach">forEach</a></p>
2022-09-09 16:11:18 +00:00
<p>Inherited from Map.forEach</p>
<ul>
2022-12-06 00:06:29 +00:00
<li>Defined in node_modules/typescript/lib/lib.es2015.collection.d.ts:31</li></ul></aside></li></ul></section>
2022-09-09 16:11:18 +00:00
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="get" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get</span><a href="#get" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external">
<li class="tsd-signature tsd-anchor-link" id="get.get-1">get<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span><a href="#get.get-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
2022-12-06 00:06:29 +00:00
<div class="tsd-comment tsd-typography"><p>Returns a specified element from the Map object. If the value that is associated to the provided key is an object, then you will get a reference to that object and any change made to that object will effectively modify it inside the Map.</p>
<h3>Returns</h3><p>Returns the element associated with the specified key. If no element is associated with the specified key, undefined is returned.</p>
</div>
2022-09-09 16:11:18 +00:00
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>key: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span></h4><aside class="tsd-sources">
2022-12-22 22:34:54 +00:00
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#get">get</a></p>
2022-09-09 16:11:18 +00:00
<p>Inherited from Map.get</p>
<ul>
2022-12-06 00:06:29 +00:00
<li>Defined in node_modules/typescript/lib/lib.es2015.collection.d.ts:36</li></ul></aside></li></ul></section>
2022-09-09 16:11:18 +00:00
<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">
2022-12-06 00:06:29 +00:00
<li class="tsd-signature tsd-anchor-link" id="getFullMultiaddr.getFullMultiaddr-1">get<wbr/>Full<wbr/>Multiaddr<span class="tsd-signature-symbol">(</span>protocol<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;tcp&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;udp&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;tcp6&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;udp6&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;udp4&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;tcp4&quot;</span><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>
2022-09-09 16:11:18 +00:00
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Returns the full multiaddr from the ENR fields matching the provided
<code>protocol</code> parameter.
To return full multiaddrs from the <code>multiaddrs</code> ENR field,
2022-12-06 00:06:29 +00:00
use <a href="_waku_enr.ENR.html#getFullMultiaddrs">getFullMultiaddrs</a>.</p>
2022-09-09 16:11:18 +00:00
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
2022-12-06 00:06:29 +00:00
<h5>protocol: <span class="tsd-signature-type">&quot;tcp&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;udp&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;tcp6&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;udp6&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;udp4&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;tcp4&quot;</span></h5></li></ul></div>
2022-09-09 16:11:18 +00:00
<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>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L420">packages/enr/src/enr.ts:420</a></li></ul></aside></li></ul></section>
2022-09-09 16:11:18 +00:00
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getFullMultiaddrs" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Full<wbr/>Multiaddrs</span><a href="#getFullMultiaddrs" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-anchor-link" id="getFullMultiaddrs.getFullMultiaddrs-1">get<wbr/>Full<wbr/>Multiaddrs<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Multiaddr</span><span class="tsd-signature-symbol">[]</span><a href="#getFullMultiaddrs.getFullMultiaddrs-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Returns the full multiaddrs from the <code>multiaddrs</code> ENR field.</p>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Multiaddr</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
2022-12-22 22:34:54 +00:00
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#getFullMultiaddrs">getFullMultiaddrs</a></p>
2022-09-09 16:11:18 +00:00
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L435">packages/enr/src/enr.ts:435</a></li></ul></aside></li></ul></section>
2022-09-09 16:11:18 +00:00
<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">
2022-12-06 00:06:29 +00:00
<li class="tsd-signature tsd-anchor-link" id="getLocationMultiaddr.getLocationMultiaddr-1">get<wbr/>Location<wbr/>Multiaddr<span class="tsd-signature-symbol">(</span>protocol<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;tcp&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;udp&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;tcp6&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;udp6&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;udp4&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;tcp4&quot;</span><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>
2022-09-09 16:11:18 +00:00
<li class="tsd-description">
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
2022-12-06 00:06:29 +00:00
<h5>protocol: <span class="tsd-signature-type">&quot;tcp&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;udp&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;tcp6&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;udp6&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;udp4&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;tcp4&quot;</span></h5></li></ul></div>
2022-09-09 16:11:18 +00:00
<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>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L344">packages/enr/src/enr.ts:344</a></li></ul></aside></li></ul></section>
2022-09-09 16:11:18 +00:00
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="has" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>has</span><a href="#has" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external">
<li class="tsd-signature tsd-anchor-link" id="has.has-1">has<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#has.has-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
2022-12-06 00:06:29 +00:00
<div class="tsd-comment tsd-typography">
<h3>Returns</h3><p>boolean indicating whether an element with the specified key exists or not.</p>
</div>
2022-09-09 16:11:18 +00:00
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>key: <span class="tsd-signature-type">string</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
2022-12-22 22:34:54 +00:00
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#has">has</a></p>
2022-09-09 16:11:18 +00:00
<p>Inherited from Map.has</p>
<ul>
2022-12-06 00:06:29 +00:00
<li>Defined in node_modules/typescript/lib/lib.es2015.collection.d.ts:40</li></ul></aside></li></ul></section>
2022-09-09 16:11:18 +00:00
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="keys" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>keys</span><a href="#keys" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external">
<li class="tsd-signature tsd-anchor-link" id="keys.keys-1">keys<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">IterableIterator</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span><a href="#keys.keys-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Returns an iterable of keys in the map</p>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">IterableIterator</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
2022-12-22 22:34:54 +00:00
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#keys">keys</a></p>
2022-09-09 16:11:18 +00:00
<p>Inherited from Map.keys</p>
<ul>
<li>Defined in node_modules/typescript/lib/lib.es2015.iterable.d.ts:131</li></ul></aside></li></ul></section>
<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">
2022-12-06 00:06:29 +00:00
<li class="tsd-signature tsd-anchor-link" id="set.set-1">set<span class="tsd-signature-symbol">(</span>k<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, v<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><a href="#set.set-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
2022-09-09 16:11:18 +00:00
<li class="tsd-description">
2022-12-22 22:34:54 +00:00
<div class="tsd-comment tsd-typography"><p>Adds a new element with a specified key and value to the Map. If an element with the same key already exists, the element will be updated.</p>
</div>
2022-09-09 16:11:18 +00:00
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>k: <span class="tsd-signature-type">string</span></h5></li>
<li>
<h5>v: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
2022-12-06 00:06:29 +00:00
<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">
2022-12-22 22:34:54 +00:00
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#set">set</a></p>
2022-09-09 16:11:18 +00:00
<p>Overrides Map.set</p>
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L154">packages/enr/src/enr.ts:154</a></li></ul></aside></li></ul></section>
2022-09-09 16:11:18 +00:00
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="setLocationMultiaddr" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>set<wbr/>Location<wbr/>Multiaddr</span><a href="#setLocationMultiaddr" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-anchor-link" id="setLocationMultiaddr.setLocationMultiaddr-1">set<wbr/>Location<wbr/>Multiaddr<span class="tsd-signature-symbol">(</span>multiaddr<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Multiaddr</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setLocationMultiaddr.setLocationMultiaddr-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>multiaddr: <span class="tsd-signature-type">Multiaddr</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L388">packages/enr/src/enr.ts:388</a></li></ul></aside></li></ul></section>
2022-09-09 16:11:18 +00:00
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="sign" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>sign</span><a href="#sign" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-anchor-link" id="sign.sign-1">sign<span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span>, privateKey<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span><a href="#sign.sign-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>data: <span class="tsd-signature-type">Uint8Array</span></h5></li>
<li>
<h5>privateKey: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L477">packages/enr/src/enr.ts:477</a></li></ul></aside></li></ul></section>
2022-09-09 16:11:18 +00:00
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="values" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>values</span><a href="#values" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external">
<li class="tsd-signature tsd-anchor-link" id="values.values-1">values<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">IterableIterator</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span><a href="#values.values-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Returns an iterable of values in the map</p>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">IterableIterator</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
2022-12-22 22:34:54 +00:00
<p>Implementation of <a href="../interfaces/_waku_interfaces.IEnr.html">IEnr</a>.<a href="../interfaces/_waku_interfaces.IEnr.html#values">values</a></p>
2022-09-09 16:11:18 +00:00
<p>Inherited from Map.values</p>
<ul>
<li>Defined in node_modules/typescript/lib/lib.es2015.iterable.d.ts:136</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="verify" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>verify</span><a href="#verify" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-anchor-link" id="verify.verify-1">verify<span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span>, signature<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#verify.verify-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>data: <span class="tsd-signature-type">Uint8Array</span></h5></li>
<li>
<h5>signature: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L467">packages/enr/src/enr.ts:467</a></li></ul></aside></li></ul></section>
2022-09-09 16:11:18 +00:00
<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">
2022-12-21 05:38:11 +00:00
<li class="tsd-signature tsd-anchor-link" id="create.create-1">create<span class="tsd-signature-symbol">(</span>kvs<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span>, seq<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">bigint</span>, signature<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span><a href="#create.create-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
2022-09-09 16:11:18 +00:00
<li class="tsd-description">
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>kvs: <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = {}</span></h5></li>
<li>
<h5>seq: <span class="tsd-signature-type">bigint</span><span class="tsd-signature-symbol"> = ...</span></h5></li>
<li>
2022-12-21 05:38:11 +00:00
<h5><code class="tsd-tag ts-flagOptional">Optional</code> signature: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
2022-12-06 00:06:29 +00:00
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
2022-09-09 16:11:18 +00:00
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L57">packages/enr/src/enr.ts:57</a></li></ul></aside></li></ul></section>
2022-09-09 16:11:18 +00:00
<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">
2022-12-06 00:06:29 +00:00
<li class="tsd-signature tsd-anchor-link" id="createFromPeerId.createFromPeerId-1">create<wbr/>From<wbr/>Peer<wbr/>Id<span class="tsd-signature-symbol">(</span>peerId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PeerId</span>, kvs<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span><a href="#createFromPeerId.createFromPeerId-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
2022-09-09 16:11:18 +00:00
<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">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
2022-12-06 00:06:29 +00:00
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
2022-09-09 16:11:18 +00:00
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L91">packages/enr/src/enr.ts:91</a></li></ul></aside></li></ul></section>
2022-09-09 16:11:18 +00:00
<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">
2022-12-06 00:06:29 +00:00
<li class="tsd-signature tsd-anchor-link" id="createV4.createV4-1">create<wbr/>V4<span class="tsd-signature-symbol">(</span>publicKey<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span>, kvs<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span><a href="#createV4.createV4-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
2022-09-09 16:11:18 +00:00
<li class="tsd-description">
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>publicKey: <span class="tsd-signature-type">Uint8Array</span></h5></li>
<li>
<h5>kvs: <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
2022-12-06 00:06:29 +00:00
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
2022-09-09 16:11:18 +00:00
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L76">packages/enr/src/enr.ts:76</a></li></ul></aside></li></ul></section>
2022-09-09 16:11:18 +00:00
<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">
2022-12-06 00:06:29 +00:00
<li class="tsd-signature tsd-anchor-link" id="decode.decode-1">decode<span class="tsd-signature-symbol">(</span>encoded<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span><a href="#decode.decode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
2022-09-09 16:11:18 +00:00
<li class="tsd-description">
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>encoded: <span class="tsd-signature-type">Uint8Array</span></h5></li></ul></div>
2022-12-06 00:06:29 +00:00
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
2022-09-09 16:11:18 +00:00
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L140">packages/enr/src/enr.ts:140</a></li></ul></aside></li></ul></section>
2022-09-09 16:11:18 +00:00
<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">
2022-12-06 00:06:29 +00:00
<li class="tsd-signature tsd-anchor-link" id="decodeFromValues.decodeFromValues-1">decode<wbr/>From<wbr/>Values<span class="tsd-signature-symbol">(</span>decoded<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span><a href="#decodeFromValues.decodeFromValues-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
2022-09-09 16:11:18 +00:00
<li class="tsd-description">
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>decoded: <span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
2022-12-06 00:06:29 +00:00
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
2022-09-09 16:11:18 +00:00
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L104">packages/enr/src/enr.ts:104</a></li></ul></aside></li></ul></section>
2022-09-09 16:11:18 +00:00
<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">
2022-12-06 00:06:29 +00:00
<li class="tsd-signature tsd-anchor-link" id="decodeTxt.decodeTxt-1">decode<wbr/>Txt<span class="tsd-signature-symbol">(</span>encoded<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span><a href="#decodeTxt.decodeTxt-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
2022-09-09 16:11:18 +00:00
<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>
2022-12-06 00:06:29 +00:00
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="_waku_enr.ENR.html" class="tsd-signature-type" data-tsd-kind="Class">ENR</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
2022-09-09 16:11:18 +00:00
<ul>
2023-02-09 07:47:21 +00:00
<li>Defined in <a href="https://github.com/waku-org/js-waku/blob/3b4bc8b2/packages/enr/src/enr.ts#L145">packages/enr/src/enr.ts:145</a></li></ul></aside></li></ul></section></section></div>
2022-09-09 16:11:18 +00:00
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Settings</h3></summary>
<div class="tsd-accordion-details">
<div class="tsd-filter-visibility">
<h4 class="uppercase">Member Visibility</h4><form>
<ul id="tsd-filter-options">
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
<div class="tsd-theme-toggle">
<h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
<nav class="tsd-navigation primary">
<details class="tsd-index-accordion" open><summary class="tsd-accordion-summary">
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
<div class="tsd-accordion-details">
<ul>
2022-12-06 00:06:29 +00:00
<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>
2022-12-22 22:34:54 +00:00
<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>
2022-12-06 00:06:29 +00:00
<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></li>
<li class="tsd-kind-module"><a href="../modules/_waku_dns_discovery.html">@waku/dns-<wbr/>discovery</a></li>
<li class="current tsd-kind-module"><a href="../modules/_waku_enr.html">@waku/enr</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_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-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.ecies.html">ecies</a></li>
2022-12-22 22:34:54 +00:00
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_message_encryption.symmetric.html">symmetric</a></li></ul></li>
<li class="tsd-kind-module"><a href="../modules/_waku_peer_exchange.html">@waku/peer-<wbr/>exchange</a></li>
<li class="tsd-kind-module"><a href="../modules/_waku_proto.html">@waku/proto</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.WakuMessage.html">Waku<wbr/>Message</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_filter.html">proto_<wbr/>filter</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRPC.html">FilterRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRequest.html">Filter<wbr/>Request</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.FilterRequest.ContentFilter.html">Content<wbr/>Filter</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.MessagePush.html">Message<wbr/>Push</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_filter.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_lightpush.html">proto_<wbr/>lightpush</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushRPC.html">PushRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushRequest.html">Push<wbr/>Request</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.PushResponse.html">Push<wbr/>Response</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_lightpush.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_message.html">proto_<wbr/>message</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_message.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_message.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_peer_exchange.html">proto_<wbr/>peer_<wbr/>exchange</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeQuery.html">Peer<wbr/>Exchange<wbr/>Query</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeRPC.html">Peer<wbr/>ExchangeRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerExchangeResponse.html">Peer<wbr/>Exchange<wbr/>Response</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_peer_exchange.PeerInfo.html">Peer<wbr/>Info</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_store.html">proto_<wbr/>store</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.ContentFilter.html">Content<wbr/>Filter</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryQuery.html">History<wbr/>Query</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryRPC.html">HistoryRPC</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryResponse.html">History<wbr/>Response</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.HistoryResponse.HistoryError.html">History<wbr/>Error</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.Index.html">Index</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.PagingInfo.html">Paging<wbr/>Info</a>
<ul>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.PagingInfo.Direction.html">Direction</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.RateLimitProof.html">Rate<wbr/>Limit<wbr/>Proof</a></li>
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/_waku_proto.proto_store.WakuMessage.html">Waku<wbr/>Message</a></li></ul></li>
<li class="tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/_waku_proto.proto_topic_only_message.html">proto_<wbr/>topic_<wbr/>only_<wbr/>message</a>
<ul>
2023-02-06 05:54:23 +00:00
<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>
2022-09-09 16:11:18 +00:00
<nav class="tsd-navigation secondary menu-sticky">
<ul>
2022-12-06 00:06:29 +00:00
<li class="current tsd-kind-class tsd-parent-kind-module"><a href="_waku_enr.ENR.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg><span>ENR</span></a>
<ul>
<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-private"><a href="_waku_enr.ENR.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-512-path"></use><use href="#icon-512-text"></use></svg>constructor</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="_waku_enr.ENR.html#_toStringTag_" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>[to<wbr/>String<wbr/>Tag]</a></li>
<li class="tsd-kind-property tsd-parent-kind-class"><a href="_waku_enr.ENR.html#peerId" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>peer<wbr/>Id?</a></li>
<li class="tsd-kind-property tsd-parent-kind-class"><a href="_waku_enr.ENR.html#seq" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>seq</a></li>
2022-12-21 05:38:11 +00:00
<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>
2022-12-06 00:06:29 +00:00
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="_waku_enr.ENR.html#size" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>size</a></li>
<li class="tsd-kind-property tsd-parent-kind-class"><a href="_waku_enr.ENR.html#RECORD_PREFIX" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>RECORD_<wbr/>PREFIX</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="_waku_enr.ENR.html#_species_" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>[species]</a></li>
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="_waku_enr.ENR.html#id" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>id</a></li>
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="_waku_enr.ENR.html#ip" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>ip</a></li>
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="_waku_enr.ENR.html#ip6" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>ip6</a></li>
<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"><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 tsd-is-inherited tsd-is-external"><a href="_waku_enr.ENR.html#_iterator_" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>[iterator]</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="_waku_enr.ENR.html#clear" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>clear</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="_waku_enr.ENR.html#delete" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>delete</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_enr.ENR.html#encode" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>encode</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_enr.ENR.html#encodeToValues" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>encode<wbr/>To<wbr/>Values</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_enr.ENR.html#encodeTxt" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>encode<wbr/>Txt</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="_waku_enr.ENR.html#entries" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>entries</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="_waku_enr.ENR.html#forEach" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>for<wbr/>Each</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="_waku_enr.ENR.html#get" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>get</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_enr.ENR.html#getFullMultiaddr" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>get<wbr/>Full<wbr/>Multiaddr</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_enr.ENR.html#getFullMultiaddrs" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>get<wbr/>Full<wbr/>Multiaddrs</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_enr.ENR.html#getLocationMultiaddr" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>get<wbr/>Location<wbr/>Multiaddr</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="_waku_enr.ENR.html#has" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>has</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="_waku_enr.ENR.html#keys" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>keys</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_enr.ENR.html#set" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>set</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_enr.ENR.html#setLocationMultiaddr" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>set<wbr/>Location<wbr/>Multiaddr</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_enr.ENR.html#sign" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>sign</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="_waku_enr.ENR.html#values" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>values</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_enr.ENR.html#verify" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>verify</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_enr.ENR.html#create" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>create</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_waku_enr.ENR.html#createFromPeerId" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>create<wbr/>From<wbr/>Peer<wbr/>Id</a></li>
<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>
2022-09-09 16:11:18 +00:00
<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>