We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 390b502 commit 98b6d76Copy full SHA for 98b6d76
src/registry/gun-registry.ts
@@ -193,8 +193,7 @@ export class GunRegistry {
193
} : undefined,
194
webTorrent: data.webTorrent_available ? {
195
available: data.webTorrent_available as boolean,
196
- magnetUris: data.webTorrent_magnetUris ?
197
- JSON.parse(data.webTorrent_magnetUris as string) : []
+ magnetUris: data.webTorrent_magnetUris as string[] || []
198
199
// Legacy fields for backward compatibility
200
externalIp: data.externalIp as string,
0 commit comments