libp2p 0.46.5 → 0.46.6-098ba082

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -269,7 +269,7 @@ class CircuitRelayServer extends EventEmitter {
269
269
  }
270
270
  await hopstr.write({ type: HopMessage.Type.STATUS, status: Status.OK });
271
271
  const sourceStream = stream.unwrap();
272
- log('connection from %p to %p established - merging streans', connection.remotePeer, dstPeer);
272
+ log('connection from %p to %p established - merging streams', connection.remotePeer, dstPeer);
273
273
  const limit = this.reservationStore.get(dstPeer)?.limit;
274
274
  // Short circuit the two streams to create the relayed connection
275
275
  createLimitedRelay(sourceStream, destinationStream, this.shutdownController.signal, limit);
@@ -1,3 +1,3 @@
1
- export declare const version = "0.46.5";
1
+ export declare const version = "0.46.6-098ba082";
2
2
  export declare const name = "libp2p";
3
3
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,WAAW,CAAA;AAC/B,eAAO,MAAM,IAAI,WAAW,CAAA"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,oBAAoB,CAAA;AACxC,eAAO,MAAM,IAAI,WAAW,CAAA"}
@@ -1,3 +1,3 @@
1
- export const version = '0.46.5';
1
+ export const version = '0.46.6-098ba082';
2
2
  export const name = 'libp2p';
3
3
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAA;AAC/B,MAAM,CAAC,MAAM,IAAI,GAAG,QAAQ,CAAA"}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,iBAAiB,CAAA;AACxC,MAAM,CAAC,MAAM,IAAI,GAAG,QAAQ,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "libp2p",
3
- "version": "0.46.5",
3
+ "version": "0.46.6-098ba082",
4
4
  "description": "JavaScript implementation of libp2p, a modular peer to peer network stack",
5
5
  "license": "Apache-2.0 OR MIT",
6
6
  "homepage": "https://github.com/libp2p/js-libp2p/tree/master/packages/libp2p#readme",
@@ -120,24 +120,25 @@
120
120
  },
121
121
  "dependencies": {
122
122
  "@achingbrain/nat-port-mapper": "^1.0.9",
123
- "@libp2p/crypto": "^2.0.3",
124
- "@libp2p/interface": "^0.1.2",
125
- "@libp2p/interface-internal": "^0.1.4",
126
- "@libp2p/keychain": "^3.0.3",
127
- "@libp2p/logger": "^3.0.2",
128
- "@libp2p/multistream-select": "^4.0.2",
129
- "@libp2p/peer-collections": "^4.0.3",
130
- "@libp2p/peer-id": "^3.0.2",
131
- "@libp2p/peer-id-factory": "^3.0.3",
132
- "@libp2p/peer-record": "^6.0.3",
133
- "@libp2p/peer-store": "^9.0.3",
134
- "@libp2p/utils": "^4.0.2",
123
+ "@libp2p/crypto": "2.0.3-098ba082",
124
+ "@libp2p/interface": "0.1.2-098ba082",
125
+ "@libp2p/interface-internal": "0.1.4-098ba082",
126
+ "@libp2p/keychain": "3.0.3-098ba082",
127
+ "@libp2p/logger": "3.0.2-098ba082",
128
+ "@libp2p/multistream-select": "4.0.2-098ba082",
129
+ "@libp2p/peer-collections": "4.0.3-098ba082",
130
+ "@libp2p/peer-id": "3.0.2-098ba082",
131
+ "@libp2p/peer-id-factory": "3.0.3-098ba082",
132
+ "@libp2p/peer-record": "6.0.3-098ba082",
133
+ "@libp2p/peer-store": "9.0.3-098ba082",
134
+ "@libp2p/utils": "4.0.2-098ba082",
135
135
  "@multiformats/mafmt": "^12.1.2",
136
136
  "@multiformats/multiaddr": "^12.1.5",
137
137
  "@multiformats/multiaddr-matcher": "^1.0.0",
138
138
  "abortable-iterator": "^5.0.1",
139
139
  "any-signal": "^4.1.1",
140
140
  "datastore-core": "^9.0.1",
141
+ "delay": "^6.0.0",
141
142
  "interface-datastore": "^8.2.0",
142
143
  "it-all": "^3.0.2",
143
144
  "it-drain": "^3.0.2",
@@ -169,21 +170,20 @@
169
170
  "@chainsafe/libp2p-gossipsub": "^10.0.0",
170
171
  "@chainsafe/libp2p-noise": "^13.0.0",
171
172
  "@chainsafe/libp2p-yamux": "^5.0.0",
172
- "@libp2p/bootstrap": "^9.0.4",
173
+ "@libp2p/bootstrap": "9.0.4-098ba082",
173
174
  "@libp2p/daemon-client": "^7.0.0",
174
175
  "@libp2p/daemon-server": "^6.0.0",
175
- "@libp2p/floodsub": "^8.0.5",
176
- "@libp2p/interface-compliance-tests": "^4.0.4",
176
+ "@libp2p/floodsub": "8.0.5-098ba082",
177
+ "@libp2p/interface-compliance-tests": "4.0.4-098ba082",
177
178
  "@libp2p/interop": "^9.0.0",
178
- "@libp2p/kad-dht": "^10.0.4",
179
- "@libp2p/mdns": "^9.0.4",
180
- "@libp2p/mplex": "^9.0.4",
181
- "@libp2p/tcp": "^8.0.4",
182
- "@libp2p/websockets": "^7.0.4",
179
+ "@libp2p/kad-dht": "10.0.4-098ba082",
180
+ "@libp2p/mdns": "9.0.4-098ba082",
181
+ "@libp2p/mplex": "9.0.4-098ba082",
182
+ "@libp2p/tcp": "8.0.4-098ba082",
183
+ "@libp2p/websockets": "7.0.4-098ba082",
183
184
  "@types/xsalsa20": "^1.1.0",
184
185
  "aegir": "^40.0.8",
185
- "delay": "^6.0.0",
186
- "execa": "^7.1.1",
186
+ "execa": "^8.0.1",
187
187
  "go-libp2p": "^1.1.1",
188
188
  "it-pushable": "^3.2.0",
189
189
  "it-to-buffer": "^4.0.1",
@@ -391,7 +391,7 @@ class CircuitRelayServer extends EventEmitter<RelayServerEvents> implements Star
391
391
  await hopstr.write({ type: HopMessage.Type.STATUS, status: Status.OK })
392
392
  const sourceStream = stream.unwrap()
393
393
 
394
- log('connection from %p to %p established - merging streans', connection.remotePeer, dstPeer)
394
+ log('connection from %p to %p established - merging streams', connection.remotePeer, dstPeer)
395
395
  const limit = this.reservationStore.get(dstPeer)?.limit
396
396
  // Short circuit the two streams to create the relayed connection
397
397
  createLimitedRelay(sourceStream, destinationStream, this.shutdownController.signal, limit)
package/src/version.ts CHANGED
@@ -1,2 +1,2 @@
1
- export const version = '0.46.5'
1
+ export const version = '0.46.6-098ba082'
2
2
  export const name = 'libp2p'
@@ -1,58 +0,0 @@
1
- {
2
- "AutoNATComponents": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.autonat.AutoNATComponents.html",
3
- "AutoNATServiceInit": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.autonat.AutoNATServiceInit.html",
4
- "autoNATService": "https://libp2p.github.io/js-libp2p/functions/libp2p.autonat.autoNATService.html",
5
- "codec": "https://libp2p.github.io/js-libp2p/functions/libp2p.circuit_relay.unknown.Limit.codec.html",
6
- "decode": "https://libp2p.github.io/js-libp2p/functions/libp2p.circuit_relay.unknown.Limit.decode.html",
7
- "encode": "https://libp2p.github.io/js-libp2p/functions/libp2p.circuit_relay.unknown.Limit.encode.html",
8
- "Limit": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.circuit_relay.unknown.Limit-1.html",
9
- "CircuitRelayService": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.circuit_relay.CircuitRelayService.html",
10
- "CircuitRelayServiceEvents": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.circuit_relay.CircuitRelayServiceEvents.html",
11
- "RelayReservation": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.circuit_relay.RelayReservation.html",
12
- "circuitRelayServer": "https://libp2p.github.io/js-libp2p/functions/libp2p.circuit_relay.circuitRelayServer.html",
13
- "circuitRelayTransport": "https://libp2p.github.io/js-libp2p/functions/libp2p.circuit_relay.circuitRelayTransport.html",
14
- "FetchService": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.fetch.FetchService.html",
15
- "FetchServiceComponents": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.fetch.FetchServiceComponents.html",
16
- "FetchServiceInit": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.fetch.FetchServiceInit.html",
17
- "HandleMessageOptions": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.fetch.HandleMessageOptions.html",
18
- "LookupFunction": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.fetch.LookupFunction.html",
19
- "fetchService": "https://libp2p.github.io/js-libp2p/functions/libp2p.fetch.fetchService-1.html",
20
- "Identify": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.identify.unknown.Identify-1.html",
21
- "IdentifyService": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.identify.IdentifyService.html",
22
- "IdentifyServiceComponents": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.identify.IdentifyServiceComponents.html",
23
- "IdentifyServiceInit": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.identify.IdentifyServiceInit.html",
24
- "Message": "https://libp2p.github.io/js-libp2p/variables/libp2p.identify.Message.html",
25
- "multicodecs": "https://libp2p.github.io/js-libp2p/variables/libp2p.identify.multicodecs.html",
26
- "identifyService": "https://libp2p.github.io/js-libp2p/functions/libp2p.identify.identifyService-1.html",
27
- "AddressFilter": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.index.unknown.AddressFilter.html",
28
- "AddressManagerInit": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.index.unknown.AddressManagerInit.html",
29
- "Components": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.index.unknown.Components.html",
30
- "ConnectionManagerInit": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.index.unknown.ConnectionManagerInit.html",
31
- "TransportManagerInit": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.index.unknown.TransportManagerInit.html",
32
- "Libp2pInit": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.index.Libp2pInit.html",
33
- "Libp2pOptions": "https://libp2p.github.io/js-libp2p/types/libp2p.index.Libp2pOptions.html",
34
- "ServiceFactoryMap": "https://libp2p.github.io/js-libp2p/types/libp2p.index.ServiceFactoryMap.html",
35
- "createLibp2p": "https://libp2p.github.io/js-libp2p/functions/libp2p.index.createLibp2p.html",
36
- "plaintext": "https://libp2p.github.io/js-libp2p/functions/libp2p.insecure.plaintext.html",
37
- "PingService": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.ping.PingService.html",
38
- "PingServiceComponents": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.ping.PingServiceComponents.html",
39
- "PingServiceInit": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.ping.PingServiceInit.html",
40
- "pingService": "https://libp2p.github.io/js-libp2p/functions/libp2p.ping.pingService-1.html",
41
- "ProtectorInit": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.pnet.ProtectorInit.html",
42
- "generateKey": "https://libp2p.github.io/js-libp2p/functions/libp2p.pnet.generateKey.html",
43
- "preSharedKey": "https://libp2p.github.io/js-libp2p/functions/libp2p.pnet.preSharedKey.html",
44
- "UPnPNAT": "https://libp2p.github.io/js-libp2p/classes/libp2p.upnp_nat.unknown.UPnPNAT.html",
45
- "AdvertServiceComponents": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.upnp_nat.unknown.AdvertServiceComponents.html",
46
- "AdvertServiceInit": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.upnp_nat.unknown.AdvertServiceInit.html",
47
- "CircuitRelayServerComponents": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.upnp_nat.unknown.CircuitRelayServerComponents.html",
48
- "CircuitRelayServerInit": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.upnp_nat.unknown.CircuitRelayServerInit.html",
49
- "CircuitRelayTransportComponents": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.upnp_nat.unknown.CircuitRelayTransportComponents.html",
50
- "CircuitRelayTransportInit": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.upnp_nat.unknown.CircuitRelayTransportInit.html",
51
- "RelayDiscoveryComponents": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.upnp_nat.unknown.RelayDiscoveryComponents.html",
52
- "RelayStoreInit": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.upnp_nat.unknown.RelayStoreInit.html",
53
- "ReservationStoreInit": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.upnp_nat.unknown.ReservationStoreInit.html",
54
- "PMPOptions": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.upnp_nat.PMPOptions.html",
55
- "UPnPNATComponents": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.upnp_nat.UPnPNATComponents.html",
56
- "UPnPNATInit": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.upnp_nat.UPnPNATInit.html",
57
- "uPnPNATService": "https://libp2p.github.io/js-libp2p/functions/libp2p.upnp_nat.uPnPNATService.html"
58
- }