@decentnetwork/peer 0.1.28 → 0.1.29
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/dist/peer.js +1 -1
- package/package.json +1 -1
package/dist/peer.js
CHANGED
|
@@ -652,7 +652,7 @@ export class Peer {
|
|
|
652
652
|
throw new Error(`friend request dispatch failed: ${errors.join("; ")}`);
|
|
653
653
|
}
|
|
654
654
|
this.#lastFriendRequestDispatch = {
|
|
655
|
-
transport: sent > 0 ? "onion" : "
|
|
655
|
+
transport: sent > 0 ? "onion" : "direct",
|
|
656
656
|
routes: routes.length,
|
|
657
657
|
targets: sent
|
|
658
658
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decentnetwork/peer",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.29",
|
|
4
4
|
"description": "Pure TypeScript port of Elastos Carrier (toxcore-derived) P2P messaging. DHT, onion routing, TCP relay, FlatBuffers app payloads, Express offline relay. Wire-compatible with iOS Beagle and the Carrier C SDK.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|