wireweave 0.3.35 → 0.3.36

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wireweave",
3
- "version": "0.3.35",
3
+ "version": "0.3.36",
4
4
  "description": "nostr + webrtc voice + data SDK. networking layer for 247420 projects.",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
package/src/relay-pool.js CHANGED
@@ -1,14 +1,15 @@
1
+ // Ordered fastest-first by measured connect latency; dead relays removed so
2
+ // signaling reaches a live relay immediately instead of racing dead hosts.
3
+ // (relay.nostr.band / nostr.wine / relay.current.fyi / relay.0xchat.com were
4
+ // unreachable — DNS-dead or refusing connections — and only added connect
5
+ // latency and console noise. Re-audit periodically.)
1
6
  const DEFAULT_RELAYS = [
2
- 'wss://relay.damus.io',
3
7
  'wss://relay.primal.net',
4
8
  'wss://nos.lol',
5
- 'wss://relay.snort.social',
6
- 'wss://relay.nostr.band',
7
- 'wss://nostr.wine',
8
- 'wss://relay.current.fyi',
9
9
  'wss://offchain.pub',
10
10
  'wss://nostr-pub.wellorder.net',
11
- 'wss://relay.0xchat.com'
11
+ 'wss://relay.snort.social',
12
+ 'wss://relay.damus.io'
12
13
  ];
13
14
 
14
15
  const SEEN_MAX = 10000;