trac-peer 0.1.81 → 0.1.82
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.
- package/package.json +1 -1
- package/src/index.js +2 -2
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -753,8 +753,8 @@ export class Peer extends ReadyResource {
|
|
|
753
753
|
const remotePublicKey = b4a.toString(connection.remotePublicKey, 'hex');
|
|
754
754
|
|
|
755
755
|
this.connectedPeers.add(remotePublicKey);
|
|
756
|
-
|
|
757
|
-
|
|
756
|
+
const stream = this.store.replicate(connection);
|
|
757
|
+
wakeup.addStream(stream);
|
|
758
758
|
this.connectedNodes++;
|
|
759
759
|
|
|
760
760
|
connection.on('close', () => {
|