Louis Aussedat
7ab57708ea
Dynamic relayUrls ( #14 )
...
* core: fix dependency array for connectToRelays cb and useEffect
* core: update relays connexion on relayUrls update
* core: connect and disconnect only when required
2023-03-25 20:57:49 +00:00
Tristan Edwards
b3a2e69718
v0.6.4
v0.6.4
2023-01-31 18:15:31 +00:00
Tristan Edwards
01f2c3c4f9
Export Metadata from useProfile
2023-01-31 18:15:09 +00:00
Tristan Edwards
78eb302eaa
New events should be isLoading by default
2023-01-29 21:34:25 +00:00
Tristan Edwards
046e4260f0
v0.6.3
v0.6.3
2023-01-29 19:56:25 +00:00
Tristan Edwards
53e9e30ee9
Add missing metadata fields to user type
2023-01-29 19:55:52 +00:00
Tristan Edwards
9c7f628d87
Add onDone + enabled params to useProfile
2023-01-29 19:52:43 +00:00
Tristan Edwards
902627c6a9
v0.6.2
v0.6.2
2023-01-29 19:08:03 +00:00
Tristan Edwards
76a8461392
Set isLoading based on eose
2023-01-29 19:06:13 +00:00
Tristan Edwards
af1dd50597
Remove unused Jotai import
2023-01-29 17:03:42 +00:00
Sebastiaan Wouters
410490bacf
add onReadyCallback to the useNostrEvents hook ( #11 )
...
* add onReadyCallback to the useNostrEvents hook
allow users to be notified when all events for a specific filter are transmitted
* change onReady to onDone
* fix typo
2023-01-17 09:47:28 +00:00
Tristan
55d9f5f449
Merge pull request #4 from wds4/main
...
Update README.md
2023-01-05 08:59:51 +01:00
David Strayhorn
bdf1085b95
Update README.md
2023-01-02 15:08:47 -05:00
Tristan Edwards
5e058bef5e
v0.6.1
v0.6.1
2023-01-02 11:58:01 +01:00
Tristan Edwards
56efec3ada
Remove ugly console.log
2023-01-02 11:57:39 +01:00
Tristan Edwards
dc71c944a5
v0.6.0
v0.6.0
2023-01-02 11:47:56 +01:00
Tristan Edwards
6b74638f21
Update useProfile return value
2023-01-02 10:55:36 +01:00
Tristan Edwards
53b738f4c8
Document "useProfile" hook
2023-01-02 10:53:25 +01:00
Tristan Edwards
c606193c82
Add new useProfile hook
...
It should batch requests when possible to prevent the "Max connections
open" error
2023-01-01 22:34:44 +01:00
Tristan Edwards
f572ae9cdc
Add onSubscribe callback
2023-01-01 13:53:45 +01:00
Tristan Edwards
50f67a0333
Make sure filter isn't cached
2023-01-01 13:01:54 +01:00
Tristan Edwards
6fd4c777aa
Add import to README example
2022-12-27 23:34:25 +01:00
Tristan Edwards
7018f939e9
v0.5.1
v0.5.1
2022-12-27 23:29:02 +01:00
Tristan Edwards
9cfc72f255
Update yarn.lock
2022-12-27 23:28:39 +01:00
Tristan Edwards
4ec0ec2934
Update README examples
2022-12-27 23:27:50 +01:00
Tristan Edwards
e565a176e3
Update nostr-tools version
2022-12-27 23:24:49 +01:00
Tristan Edwards
3519efe941
v0.5.0
v0.5.0
2022-12-27 21:33:27 +01:00
Tristan Edwards
30b1687bfd
Add relay URLs to debug logs
2022-12-27 21:30:38 +01:00
Tristan Edwards
b4bab84ea2
Handle strict mode in provider
2022-12-27 21:20:52 +01:00
Tristan Edwards
5ccaf9672f
Better automatic unsubscription
2022-12-27 21:02:54 +01:00
Tristan Edwards
1f5db629b8
Working unsubscribe function
2022-12-26 13:52:27 +01:00
Tristan Edwards
54e611e362
Use base64 to detect filter changes
2022-12-26 13:40:56 +01:00
Tristan Edwards
bef73edf3c
v0.4.1
v0.4.1
2022-12-25 21:17:26 +01:00
Tristan Edwards
17db9445aa
Upgrade nostr-tools
2022-12-25 21:17:02 +01:00
Tristan Edwards
6ec6e889e3
v0.4.0
v0.4.0
2022-12-25 18:56:56 +01:00
Tristan Edwards
0009638292
add unsubscribe method to README
2022-12-25 18:56:15 +01:00
Tristan Edwards
adc72d685f
Add "unsubscribe" event
2022-12-25 18:54:08 +01:00
Tristan Edwards
b48707a19b
Add logging when sending events
2022-12-25 18:31:28 +01:00
Tristan Edwards
8dcebd9d12
Update README
2022-12-25 17:56:06 +01:00
Tristan Edwards
302befe8a1
Fix readme typo
2022-12-25 17:52:48 +01:00
Tristan Edwards
f6efc6b6d3
v0.3.0
v0.3.0
2022-12-25 17:30:00 +01:00
Tristan Edwards
0a9bd4bfd5
Add onEvent param to useNostrEvents
2022-12-25 17:29:04 +01:00
Tristan Edwards
9d7da11385
v0.2.1
v0.2.1
2022-12-25 17:11:45 +01:00
Tristan Edwards
4be570b4f1
Remove last traces of nostrgg
2022-12-25 17:11:24 +01:00
Tristan Edwards
772fc488fc
v0.2.0
v0.2.0
2022-12-25 17:03:51 +01:00
Tristan Edwards
352488b9f8
Add publish method
2022-12-25 17:03:06 +01:00
Tristan Edwards
958eb71883
Fix merge conflict in readme
2022-12-25 14:22:34 +01:00
Tristan Edwards
067f206165
Add "connectedRelays" param
2022-12-25 14:20:32 +01:00
Tristan Edwards
da98f15680
Change name to nostr-react
2022-12-25 14:09:52 +01:00
Tristan Edwards
8fb6f3a997
Add debug functionality
2022-12-25 14:08:40 +01:00