51 Commits

Author SHA1 Message Date
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
Tristan Edwards
32465d17c9 Use nostr-tools instead of nostr-client 2022-12-25 14:08:40 +01:00
Tristan
5dc4675605
Add logo to README 2022-12-20 09:07:49 +00:00
Tristan Edwards
d243e4b1a6 v0.1.2 v0.1.2 2022-12-20 08:38:47 +00:00
Tristan Edwards
21cd465a64 Add github link to package.json 2022-12-20 08:38:21 +00:00
Tristan Edwards
2481d20e41 Add "debug" param to README example 2022-12-20 08:33:21 +00:00
Tristan Edwards
ae1c36e6dc Add eslint + prettier 2022-12-20 08:04:09 +00:00
Tristan Edwards
864ab6a8c7 Add "debug" option to NostrProvider 2022-12-20 07:33:48 +00:00
Tristan Edwards
44513b6c19 v0.1.1 v0.1.1 2022-12-20 06:48:16 +00:00
Tristan Edwards
c34a02589b Remove dependency on lodash 2022-12-20 06:47:32 +00:00
Tristan Edwards
7c13a5d2bc Add basic README 2022-12-20 06:40:26 +00:00
Tristan Edwards
95ae00a277 Remove commented code 2022-12-20 06:26:02 +00:00
Tristan Edwards
eab630f073 Export all functions from nostr client 2022-12-20 06:06:52 +00:00
Tristan Edwards
408165e17a Working package 2022-12-20 05:30:21 +00:00