Commit 19b545d
committed
fix(provider): stop advertising unimplemented nip04 and getRelays
window.nostr.nip04 delegated to a background handler that throws "not
implemented", and getRelays returned {}. Feature-detection
(window.nostr.nip04 / .getRelays) was therefore lying to callers. NIP-04 is a
distinct, deprecated scheme we do not implement (Podkey ships NIP-44 v2 only),
and Podkey holds no relay list, so the honest signal is the absence of both
methods. The dead background cases are removed alongside the NIP-98 work.
Co-Authored-By: jjohare <github@thedreamlab.uk>1 parent adf1912 commit 19b545d
1 file changed
Lines changed: 4 additions & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
91 | 64 | | |
92 | 65 | | |
93 | 66 | | |
| |||
0 commit comments