libp2r2p 0.10.1 → 0.10.2

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": "libp2r2p",
3
- "version": "0.10.1",
3
+ "version": "0.10.2",
4
4
  "description": "Peer-to-relay-to-peer",
5
5
  "keywords": [
6
6
  "p2r2p",
@@ -47,6 +47,7 @@
47
47
  ],
48
48
  "scripts": {
49
49
  "test": "node --test --experimental-test-module-mocks 'tests/**/*.test.js'",
50
+ "test:files": "node --test --experimental-test-module-mocks",
50
51
  "test:only": "node --test --test-only --experimental-test-module-mocks 'tests/**/*.test.js'"
51
52
  },
52
53
  "exports": {
@@ -4,7 +4,9 @@ export const seedRelays = [
4
4
  'wss://purplepag.es',
5
5
  'wss://user.kindpag.es',
6
6
  'wss://relay.nos.social',
7
- 'wss://nostr.land',
7
+ // Disabled 2026-08-05: accepted kind:10002 with OK but did not broadcast it
8
+ // to a live subscription within 15 seconds. Keep for future retesting.
9
+ // 'wss://nostr.land',
8
10
  'wss://indexer.coracle.social'
9
11
  ]
10
12
 
@@ -13,6 +15,12 @@ export const seedRelays = [
13
15
  export const freeRelays = [
14
16
  'wss://relay.44billion.net',
15
17
  'wss://nos.lol',
16
- 'wss://relay.primal.net',
17
- 'wss://relay.damus.io'
18
+ 'wss://relay.primal.net'
19
+ ]
20
+
21
+ // Shared app-discovery relays used by Nostr app launchers and uploaders.
22
+ export const nappRelays = [
23
+ 'wss://relay.44billion.net',
24
+ 'wss://relay.ditto.pub',
25
+ 'wss://relay.dreamith.to'
18
26
  ]
package/relay/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { freeRelays, seedRelays } from './constants/index.js'
1
+ export { freeRelays, nappRelays, seedRelays } from './constants/index.js'
2
2
  export { pickRelaysForPubkeys } from './helpers/routing.js'
3
3
  export { RelayPool, relayPool } from './services/relay-pool.js'
4
4
  export { getRelaysByPubkey, subscribeRelayListUpdates } from './services/query.js'