diff --git a/index.html b/index.html index ada78a41..2cc84ff4 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@ - libp2p 0.28.7 | Documentation + libp2p 0.28.8 | Documentation @@ -15,7 +15,7 @@

libp2p

-
0.28.7
+
0.28.8
- + src/index.js @@ -1936,7 +1936,7 @@
- + src/index.js @@ -2026,7 +2026,7 @@ instance if one is not provided in options.

- + src/index.js @@ -2114,7 +2114,7 @@ if there is a handler. If not, errors will be logged.

- + src/index.js @@ -2180,7 +2180,7 @@ if there is a handler. If not, errors will be logged.

- + src/index.js @@ -2246,7 +2246,7 @@ if there is a handler. If not, errors will be logged.

- + src/index.js @@ -2313,7 +2313,7 @@ Imports the private key as 'self', if needed.

- + src/index.js @@ -2380,7 +2380,7 @@ Imports the private key as 'self', if needed.

- + src/index.js @@ -2493,7 +2493,7 @@ peer will be added to the nodes peerStore

- + src/index.js @@ -2615,7 +2615,7 @@ and the Connection will be returned

- + src/index.js @@ -2683,7 +2683,7 @@ Duplicated addresses and noAnnounce addresses are filtered out.

- + src/index.js @@ -2763,7 +2763,7 @@ Duplicated addresses and noAnnounce addresses are filtered out.

- + src/index.js @@ -2843,7 +2843,7 @@ Duplicated addresses and noAnnounce addresses are filtered out.

- + src/index.js @@ -2922,7 +2922,7 @@ Duplicated addresses and noAnnounce addresses are filtered out.

- + src/index.js @@ -3002,7 +3002,7 @@ will no longer be supported on streams.

- + src/peer-routing.js @@ -3111,7 +3111,7 @@ will no longer be supported on streams.

- + src/content-routing.js @@ -3230,7 +3230,7 @@ Once a content router succeeds, iteration will stop.

- + src/content-routing.js @@ -3307,7 +3307,7 @@ a provider of the given key.

- + src/content-routing.js @@ -3424,7 +3424,7 @@ a provider of the given key.

- + src/content-routing.js @@ -3534,7 +3534,7 @@ Times out after 1 minute by default.

- + src/content-routing.js @@ -3651,7 +3651,7 @@ Times out after 1 minute by default.

- + src/pubsub.js @@ -3735,7 +3735,7 @@ Times out after 1 minute by default.

- + src/pubsub.js @@ -3811,7 +3811,7 @@ Times out after 1 minute by default.

- + src/pubsub.js @@ -3894,7 +3894,7 @@ Times out after 1 minute by default.

- + src/pubsub.js @@ -3956,7 +3956,7 @@ Times out after 1 minute by default.

- + src/pubsub.js @@ -4031,7 +4031,7 @@ Times out after 1 minute by default.

- + src/get-peer.js @@ -4115,7 +4115,7 @@ If a multiaddr is received, the addressBook is updated.

- + src/address-manager/index.js @@ -4239,7 +4239,7 @@ address adverstising to other peers in the network.

- + src/address-manager/index.js @@ -4305,7 +4305,7 @@ address adverstising to other peers in the network.

- + src/address-manager/index.js @@ -4371,7 +4371,7 @@ address adverstising to other peers in the network.

- + src/address-manager/index.js @@ -4445,7 +4445,7 @@ address adverstising to other peers in the network.

- + src/connection-manager/index.js @@ -4525,7 +4525,7 @@ address adverstising to other peers in the network.

- + src/connection-manager/index.js @@ -4588,7 +4588,7 @@ address adverstising to other peers in the network.

- + src/connection-manager/index.js @@ -4651,7 +4651,7 @@ address adverstising to other peers in the network.

- + src/connection-manager/index.js @@ -4709,7 +4709,7 @@ address adverstising to other peers in the network.

- + src/connection-manager/index.js @@ -4768,7 +4768,7 @@ only event loop and connection limits will be monitored.

- + src/connection-manager/index.js @@ -4826,7 +4826,7 @@ only event loop and connection limits will be monitored.

- + src/connection-manager/index.js @@ -4884,7 +4884,7 @@ only event loop and connection limits will be monitored.

- + src/connection-manager/index.js @@ -4965,7 +4965,7 @@ will be disconnected first.

- + src/connection-manager/index.js @@ -5036,7 +5036,7 @@ will be disconnected first.

- + src/connection-manager/index.js @@ -5107,7 +5107,7 @@ will be disconnected first.

- + src/connection-manager/index.js @@ -5186,7 +5186,7 @@ will be disconnected first.

- + src/connection-manager/index.js @@ -5273,7 +5273,7 @@ will be disconnected first.

- + src/connection-manager/latency-monitor.js @@ -5327,7 +5327,7 @@ will be disconnected first.

- + src/connection-manager/latency-monitor.js @@ -5425,7 +5425,7 @@ will be disconnected first.

- + src/connection-manager/latency-monitor.js @@ -5600,7 +5600,7 @@ monitor.on('data', (summary) => - + src/connection-manager/latency-monitor.js @@ -5675,7 +5675,7 @@ it will not count for this time period

- + src/connection-manager/visibility-change-emitter.js @@ -5729,7 +5729,7 @@ it will not count for this time period

- + src/connection-manager/visibility-change-emitter.js @@ -5803,7 +5803,7 @@ it will not count for this time period

- + src/connection-manager/visibility-change-emitter.js @@ -5866,7 +5866,7 @@ it will not count for this time period

- + src/circuit/index.js @@ -5965,7 +5965,7 @@ it will not count for this time period

- + src/circuit/index.js @@ -6075,7 +6075,7 @@ it will not count for this time period

- + src/circuit/index.js @@ -6158,7 +6158,7 @@ it will not count for this time period

- + src/circuit/index.js @@ -6233,7 +6233,7 @@ it will not count for this time period

- + src/circuit/index.js @@ -6287,7 +6287,7 @@ it will not count for this time period

- + src/identify/index.js @@ -6355,7 +6355,7 @@ it will not count for this time period

- + src/circuit/listener.js @@ -6425,7 +6425,7 @@ it will not count for this time period

- + src/circuit/listener.js @@ -6504,7 +6504,7 @@ it will not count for this time period

- + src/circuit/listener.js @@ -6570,7 +6570,7 @@ it will not count for this time period

- + src/circuit/listener.js @@ -6655,7 +6655,7 @@ be dialed over TCP rather than any other transport

- + src/circuit/circuit/hop.js @@ -6772,7 +6772,7 @@ peer. A new, virtual, connection will be created between the two via the relay.< - + src/circuit/circuit/utils.js @@ -6847,7 +6847,7 @@ peer. A new, virtual, connection will be created between the two via the relay.< - + src/circuit/circuit/utils.js @@ -6923,7 +6923,7 @@ peer. A new, virtual, connection will be created between the two via the relay.< - + src/circuit/circuit/stream-handler.js @@ -7026,7 +7026,7 @@ peer. A new, virtual, connection will be created between the two via the relay.< - + src/circuit/circuit/stream-handler.js @@ -7088,7 +7088,7 @@ peer. A new, virtual, connection will be created between the two via the relay.< - + src/circuit/circuit/stream-handler.js @@ -7156,7 +7156,7 @@ peer. A new, virtual, connection will be created between the two via the relay.< - + src/circuit/circuit/stream-handler.js @@ -7218,7 +7218,7 @@ peer. A new, virtual, connection will be created between the two via the relay.< - + src/circuit/circuit/stream-handler.js @@ -7280,7 +7280,7 @@ peer. A new, virtual, connection will be created between the two via the relay.< - + src/dialer/index.js @@ -7468,7 +7468,7 @@ peer. A new, virtual, connection will be created between the two via the relay.< - + src/dialer/index.js @@ -7522,7 +7522,7 @@ peer. A new, virtual, connection will be created between the two via the relay.< - + src/dialer/index.js @@ -7634,7 +7634,7 @@ will be used.

- + src/dialer/index.js @@ -7717,7 +7717,7 @@ will be used.

- + src/dialer/index.js @@ -7820,7 +7820,7 @@ will be used.

- + src/dialer/dial-request.js @@ -7931,7 +7931,7 @@ all other dials in the request will be cancelled.

- + src/dialer/dial-request.js @@ -8030,7 +8030,7 @@ all other dials in the request will be cancelled.

- + src/keychain/index.js @@ -8108,7 +8108,7 @@ all other dials in the request will be cancelled.

- + src/keychain/index.js @@ -8186,7 +8186,7 @@ all other dials in the request will be cancelled.

- + src/keychain/index.js @@ -8252,7 +8252,7 @@ all other dials in the request will be cancelled.

- + src/keychain/index.js @@ -8327,7 +8327,7 @@ The default options for a keychain.

- + src/keychain/index.js @@ -8397,7 +8397,7 @@ arbitrary message content.

- + src/keychain/index.js @@ -8495,7 +8495,7 @@ arbitrary message content.

- + src/keychain/index.js @@ -8561,7 +8561,7 @@ arbitrary message content.

- + src/keychain/index.js @@ -8641,7 +8641,7 @@ arbitrary message content.

- + src/keychain/index.js @@ -8721,7 +8721,7 @@ arbitrary message content.

- + src/keychain/index.js @@ -8801,7 +8801,7 @@ arbitrary message content.

- + src/keychain/index.js @@ -8890,7 +8890,7 @@ arbitrary message content.

- + src/keychain/index.js @@ -8979,7 +8979,7 @@ arbitrary message content.

- + src/keychain/index.js @@ -9085,7 +9085,7 @@ arbitrary message content.

- + src/keychain/cms.js @@ -9155,7 +9155,7 @@ arbitrary message content.

- + src/keychain/cms.js @@ -9245,7 +9245,7 @@ arbitrary message content.

- + src/keychain/cms.js @@ -9335,7 +9335,7 @@ exists, an Error is returned with the property 'missingKeys'. It is array of ke - + src/keychain/util.js @@ -9422,7 +9422,7 @@ exists, an Error is returned with the property 'missingKeys'. It is array of ke - + src/keychain/util.js @@ -9501,7 +9501,7 @@ resolve to either true or false.

- + src/metrics/index.js @@ -9623,7 +9623,7 @@ resolve to either true or false.

- + src/metrics/index.js @@ -9678,7 +9678,7 @@ will be ignored.

- + src/metrics/index.js @@ -9733,7 +9733,7 @@ Once stop is called, start must be called to resume st - + src/metrics/index.js @@ -9795,7 +9795,7 @@ Once stop is called, start must be called to resume st - + src/metrics/index.js @@ -9857,7 +9857,7 @@ Once stop is called, start must be called to resume st - + src/metrics/index.js @@ -9933,7 +9933,7 @@ is a live peer, or in the disconnected peer LRU cache.

- + src/metrics/index.js @@ -9995,7 +9995,7 @@ is a live peer, or in the disconnected peer LRU cache.

- + src/metrics/index.js @@ -10070,7 +10070,7 @@ is a live peer, or in the disconnected peer LRU cache.

- + src/metrics/index.js @@ -10139,7 +10139,7 @@ be stopped and moved to an LRU for temporary retention.

- + src/metrics/index.js @@ -10217,7 +10217,7 @@ placeholder stats will be merged with the existing stats.

- + src/metrics/index.js @@ -10347,7 +10347,7 @@ with the placeholder string returned from here, and the known PeerId - + src/metrics/index.js @@ -10431,7 +10431,7 @@ and returned.

- + src/metrics/old-peers.js @@ -10506,7 +10506,7 @@ and returned.

- + src/metrics/stats.js @@ -10586,7 +10586,7 @@ and returned.

- + src/metrics/stats.js @@ -10654,7 +10654,7 @@ should only need to be called if Stats.stop was previously called,
- + src/metrics/stats.js @@ -10721,7 +10721,7 @@ timer.

- + src/metrics/stats.js @@ -10787,7 +10787,7 @@ timer.

- + src/metrics/stats.js @@ -10853,7 +10853,7 @@ timer.

- + src/metrics/stats.js @@ -10919,7 +10919,7 @@ timer.

- + src/metrics/stats.js @@ -11015,7 +11015,7 @@ current Timestamp, then resets the update timer.

- + src/transport-manager.js @@ -11126,7 +11126,7 @@ current Timestamp, then resets the update timer.

- + src/transport-manager.js @@ -11219,7 +11219,7 @@ current Timestamp, then resets the update timer.

- + src/transport-manager.js @@ -11273,7 +11273,7 @@ current Timestamp, then resets the update timer.

- + src/transport-manager.js @@ -11356,7 +11356,7 @@ current Timestamp, then resets the update timer.

- + src/transport-manager.js @@ -11418,7 +11418,7 @@ current Timestamp, then resets the update timer.

- + src/transport-manager.js @@ -11480,7 +11480,7 @@ current Timestamp, then resets the update timer.

- + src/transport-manager.js @@ -11555,7 +11555,7 @@ current Timestamp, then resets the update timer.

- + src/transport-manager.js @@ -11609,7 +11609,7 @@ current Timestamp, then resets the update timer.

- + src/transport-manager.js @@ -11677,7 +11677,7 @@ If a transport has any running listeners, they will be closed.

- + src/transport-manager.js @@ -11732,7 +11732,7 @@ If any listeners are running, they will be closed.

- + src/transport-manager.js @@ -11793,7 +11793,7 @@ NO_FATAL should be used for not failing when not listening.

- + src/upgrader.js @@ -11954,7 +11954,7 @@ NO_FATAL should be used for not failing when not listening.

- + src/upgrader.js @@ -12033,7 +12033,7 @@ NO_FATAL should be used for not failing when not listening.

- + src/upgrader.js @@ -12120,7 +12120,7 @@ NO_FATAL should be used for not failing when not listening.

- + src/upgrader.js @@ -12284,7 +12284,7 @@ NO_FATAL should be used for not failing when not listening.

- + src/upgrader.js @@ -12363,7 +12363,7 @@ NO_FATAL should be used for not failing when not listening.

- + src/upgrader.js @@ -12450,7 +12450,7 @@ NO_FATAL should be used for not failing when not listening.

- + src/peer-store/index.js @@ -12509,7 +12509,7 @@ NO_FATAL should be used for not failing when not listening.

- + src/peer-store/index.js @@ -12567,7 +12567,7 @@ NO_FATAL should be used for not failing when not listening.

- + src/peer-store/index.js @@ -12625,7 +12625,7 @@ NO_FATAL should be used for not failing when not listening.

- + src/peer-store/index.js @@ -12683,7 +12683,7 @@ NO_FATAL should be used for not failing when not listening.

- + src/peer-store/index.js @@ -12741,7 +12741,7 @@ NO_FATAL should be used for not failing when not listening.

- + src/peer-store/index.js @@ -12799,7 +12799,7 @@ NO_FATAL should be used for not failing when not listening.

- + src/peer-store/index.js @@ -12857,7 +12857,7 @@ NO_FATAL should be used for not failing when not listening.

- + src/peer-store/index.js @@ -12923,7 +12923,7 @@ NO_FATAL should be used for not failing when not listening.

- + src/peer-store/index.js @@ -13002,7 +13002,7 @@ NO_FATAL should be used for not failing when not listening.

- + src/peer-store/index.js @@ -13089,7 +13089,7 @@ NO_FATAL should be used for not failing when not listening.

- + src/peer-store/address-book.js @@ -13162,7 +13162,7 @@ of a peer.

- + src/peer-store/address-book.js @@ -13225,7 +13225,7 @@ of a peer.

- + src/peer-store/address-book.js @@ -13312,7 +13312,7 @@ of a peer.

- + src/peer-store/address-book.js @@ -13400,7 +13400,7 @@ If the peer is not known, it is set with the given addresses.

- + src/peer-store/address-book.js @@ -13408,9 +13408,10 @@ If the peer is not known, it is set with the given addresses.

Get the known multiaddrs for a given peer. All returned multiaddrs -will include the encapsulated PeerId of the peer.

+will include the encapsulated PeerId of the peer. +Returns undefined if there are no known multiaddrs for the given peer.

-
getMultiaddrsForPeer(peerId: PeerId): Array<Multiaddr>
+
getMultiaddrsForPeer(peerId: PeerId): (Array<Multiaddr> | undefined)
@@ -13441,7 +13442,7 @@ will include the encapsulated PeerId of the peer.

Returns
- Array<Multiaddr>: + (Array<Multiaddr> | undefined): @@ -13488,7 +13489,7 @@ will include the encapsulated PeerId of the peer.

- + src/peer-store/address-book.js @@ -13544,7 +13545,7 @@ will include the encapsulated PeerId of the peer.

- + src/peer-store/proto-book.js @@ -13599,7 +13600,7 @@ will include the encapsulated PeerId of the peer.

- + src/peer-store/book.js @@ -13722,7 +13723,7 @@ will include the encapsulated PeerId of the peer.

- + src/peer-store/book.js @@ -13780,7 +13781,7 @@ will include the encapsulated PeerId of the peer.

- + src/peer-store/book.js @@ -13859,16 +13860,17 @@ will include the encapsulated PeerId of the peer.

-

Get the known data of a provided peer.

+

Get the known data of a provided peer. +Returns undefined if there is no available data for the given peer.

-
get(peerId: PeerId): Array<Data>
+
get(peerId: PeerId): (Array<Data> | undefined)
@@ -13899,7 +13901,7 @@ will include the encapsulated PeerId of the peer.

Returns
- Array<Data>: + (Array<Data> | undefined): @@ -13938,7 +13940,7 @@ will include the encapsulated PeerId of the peer.

- + src/peer-store/book.js @@ -14025,7 +14027,7 @@ will include the encapsulated PeerId of the peer.

- + src/peer-store/key-book.js @@ -14097,7 +14099,7 @@ will include the encapsulated PeerId of the peer.

- + src/peer-store/key-book.js @@ -14160,7 +14162,7 @@ will include the encapsulated PeerId of the peer.

- + src/peer-store/key-book.js @@ -14247,7 +14249,7 @@ will include the encapsulated PeerId of the peer.

- + src/peer-store/key-book.js @@ -14334,7 +14336,7 @@ will include the encapsulated PeerId of the peer.

- + src/peer-store/metadata-book.js @@ -14407,7 +14409,7 @@ protocols of a peer.

- + src/peer-store/metadata-book.js @@ -14470,7 +14472,7 @@ protocols of a peer.

- + src/peer-store/metadata-book.js @@ -14567,7 +14569,7 @@ protocols of a peer.

- + src/peer-store/metadata-book.js @@ -14689,7 +14691,7 @@ protocols of a peer.

- + src/peer-store/metadata-book.js @@ -14768,7 +14770,7 @@ protocols of a peer.

- + src/peer-store/metadata-book.js @@ -14855,7 +14857,7 @@ protocols of a peer.

- + src/peer-store/metadata-book.js @@ -14934,7 +14936,7 @@ protocols of a peer.

- + src/peer-store/metadata-book.js @@ -15029,7 +15031,7 @@ protocols of a peer.

- + src/peer-store/metadata-book.js @@ -15084,7 +15086,7 @@ protocols of a peer.

- + src/peer-store/proto-book.js @@ -15157,7 +15159,7 @@ protocols of a peer.

- + src/peer-store/proto-book.js @@ -15220,7 +15222,7 @@ protocols of a peer.

- + src/peer-store/proto-book.js @@ -15308,7 +15310,7 @@ If the peer was not known before, it will be added.

- + src/peer-store/proto-book.js @@ -15404,7 +15406,7 @@ If the peer was not known before, it will be added.

- + src/peer-store/persistent/index.js @@ -15518,7 +15520,7 @@ If the peer was not known before, it will be added.

- + src/peer-store/persistent/index.js @@ -15576,7 +15578,7 @@ If the peer was not known before, it will be added.

- + src/peer-store/persistent/index.js @@ -15634,7 +15636,7 @@ If the peer was not known before, it will be added.

- + src/peer-store/persistent/index.js @@ -15697,7 +15699,7 @@ If the peer was not known before, it will be added.

- + src/peer-store/persistent/index.js @@ -15771,7 +15773,7 @@ If the peer was not known before, it will be added.

- + src/registrar.js @@ -15876,7 +15878,7 @@ If the peer was not known before, it will be added.

- + src/registrar.js @@ -15939,7 +15941,7 @@ If the peer was not known before, it will be added.

- + src/registrar.js @@ -16018,7 +16020,7 @@ If the peer was not known before, it will be added.

- + src/registrar.js @@ -16098,7 +16100,7 @@ If the peer was not known before, it will be added.

- + src/registrar.js @@ -16178,7 +16180,7 @@ If the peer was not known before, it will be added.

- + src/registrar.js @@ -16273,7 +16275,7 @@ If the peer was not known before, it will be added.

- + src/ping/index.js @@ -16356,7 +16358,7 @@ If the peer was not known before, it will be added.

- + src/ping/index.js @@ -16423,7 +16425,7 @@ If the peer was not known before, it will be added.

- + src/ping/index.js @@ -16490,7 +16492,7 @@ If the peer was not known before, it will be added.

- + src/identify/index.js @@ -16589,7 +16591,7 @@ If the peer was not known before, it will be added.

- + src/identify/index.js @@ -16642,7 +16644,7 @@ If the peer was not known before, it will be added.

- + src/identify/index.js @@ -16695,7 +16697,7 @@ If the peer was not known before, it will be added.

- + src/identify/index.js @@ -16748,7 +16750,7 @@ If the peer was not known before, it will be added.

- + src/identify/index.js @@ -16801,7 +16803,7 @@ If the peer was not known before, it will be added.

- + src/identify/index.js @@ -16876,7 +16878,7 @@ If the peer was not known before, it will be added.

- + src/identify/index.js @@ -16943,7 +16945,7 @@ If the peer was not known before, it will be added.

- + src/identify/index.js @@ -17020,7 +17022,7 @@ an error will be thrown.

- + src/identify/index.js @@ -17135,7 +17137,7 @@ an error will be thrown.

- + src/identify/index.js