@decentnetwork/peer 0.1.13 → 0.1.14

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.
Files changed (2) hide show
  1. package/dist/peer.js +5 -0
  2. package/package.json +1 -1
package/dist/peer.js CHANGED
@@ -1972,6 +1972,11 @@ export class Peer {
1972
1972
  const resp1 = r.status === "fulfilled" ? r.value : undefined;
1973
1973
  if (!resp1) {
1974
1974
  this.#debugLog(`self announce step1 no response from ${c.node.host}:${c.node.port}`);
1975
+ try {
1976
+ const fs = await import("fs");
1977
+ fs.appendFileSync("/tmp/decent-announce.log", `${new Date().toISOString()} step1 from=${c.node.host}:${c.node.port} NO_RESPONSE\n`);
1978
+ }
1979
+ catch { /* best-effort */ }
1975
1980
  continue;
1976
1981
  }
1977
1982
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@decentnetwork/peer",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
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",