UNPKG
nostr-tools
Version:
latest (2.19.4)
2.19.4
2.19.3
2.19.2
2.19.1
2.19.0
2.18.2
2.18.1
2.18.0
2.17.4
2.17.3
2.17.2
2.17.1
2.17.0
2.16.2
2.16.1
2.16.0
2.15.2
2.15.1
2.15.0
2.14.3
2.14.2
2.14.1
2.14.0
2.13.3
2.13.2
2.13.1
2.13.0
2.12.0
2.11.1
2.11.0
2.10.4
2.10.3
2.10.2
2.10.1
2.10.0
2.9.4
2.9.3
2.9.2
2.9.1
2.9.0
2.8.1
2.8.0
2.7.2
2.7.1
2.7.0
2.6.0
2.5.2
2.5.1
2.5.0
2.4.0
2.3.2
2.3.1
2.3.0
2.2.1
2.2.0
2.1.9
2.1.8
2.1.7
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.3
2.0.2
2.0.1
2.0.0
1.17.0
1.16.0
1.15.0
1.14.2
1.14.0
1.13.1
1.13.0
1.12.1
1.12.0
1.11.2
1.11.1
1.10.1
1.10.0
1.9.0
1.8.4
1.8.3
1.8.2
1.8.1
1.8.0
1.7.5
1.7.4
1.7.2
1.7.1
1.7.0
1.6.3
1.6.2
1.6.1
1.6.0
1.5.0
1.4.2
1.4.1
1.4.0
1.3.2
1.3.1
1.3.0
1.2.4
1.2.3
1.2.1
1.2.0
1.1.2
1.1.1
1.1.0
1.0.1
1.0.0
1.0.0-rc2
1.0.0-rc1
1.0.0-beta2
1.0.0-beta
1.0.0-alpha2
1.0.0-alpha
0.24.1
0.24.0
0.23.4
0.23.3
0.23.2
0.23.1
0.23.0
0.22.2
0.22.1
0.22.0
0.21.4
0.21.3
0.21.2
0.21.1
0.21.0
0.20.1
0.20.0
0.19.0
0.18.0
0.17.0
0.16.2
0.16.1
0.16.0
0.15.1
0.15.0
0.14.3
0.14.2
0.14.1
0.14.0
0.13.0
0.12.4
0.12.3
0.12.2
0.12.1
0.12.0
0.11.0
0.10.3
0.10.2
0.10.1
0.10.0
0.9.1
0.9.0
0.8.1
0.8.0
0.7.2
0.7.1
0.7.0
0.6.5
0.6.4
0.6.3
0.6.2
0.6.1
0.6.0
0.5.0
0.4.6
0.4.5
0.4.4
0.4.3
0.4.2
0.3.0
0.1.4
0.1.3
0.1.2
0.1.0
0.0.2
0.0.1
Tools for making a Nostr client.
github.com/nbd-wtf/nostr-tools
nbd-wtf/nostr-tools
nostr-tools
/
lib
/
types
/
nip42.d.ts
6 lines
(5 loc)
•
202 B
TypeScript
View Raw
1
2
3
4
5
6
import { EventTemplate }
from
'./core.ts'
;
/** * creates an EventTemplate for an AUTH event to be signed. */
export
declare
function
makeAuthEvent
(
relayURL:
string
, challenge:
string
):
EventTemplate
;