I'm trying, but I have a question:

> const query : NDKFilter = {

> "since": since,

> "kinds": [1],

> "authors": [

> "20d29810d6a5f92b045ade02ebbadc9036d741cc686b00415c42b4236fe4ad2f", // negr0

> ]

> };

> const sub = ndk.subscribe(query, { closeOnEose: false });

After some time, I don't get new events. What I'm doing wrong? πŸ˜”

Reply to this note

Please Login to reply.

Discussion

that looks right to me, are you sure there are new events coming in?

I'm testing right now:

[14/6/2023 09:34:38] Starting...

ndk:pool Connecting to 5 relays +0ms

[14/6/2023 09:34:38] πŸ‘€ monitoreando desde 1686740638

ndk:pool Relay wss://relay.damus.io connected +554ms

ndk:pool Relay wss://nostr.wine/ connected +27ms

ndk:pool Relay wss://nostr-pub.wellorder.net connected +126ms

ndk:pool Relay wss://nos.lol connected +32ms

ndk:pool Relay wss://relay.nostr.band connected +66ms

ndk:subscription querying relays +0ms

ndk:relayset subscribing {

filter: {

since: 1686740638,

kinds: [ 1 ],

authors: [

'20d29810d6a5f92b045ade02ebbadc9036d741cc686b00415c42b4236fe4ad2f',

'0adcc7ecbc22c56146d45e6242c8b6ae9341d6f55c2886dde0124273826a5a21'

]

}} +0ms

Last event recived (note1ajl27lx2vl3pn3ppndxmyy6jrznur67y7tz9q2uvwzs4e65jvnhsp28tjz):

[14/6/2023 10:33:26] βœ… negr0@hodl.ar publicΓ³ un nuevo evento en wss://nos.lol <14/6/2023 10:33:26>: Apple se merece perder clientela

nostr:nevent1qqstxzc6pxxvr6nj60hulxgyj6fyucdus6pjyejud3pg8dn4mu054dgpzamhxue69uhhyetvv9ujuurvv438xarj9e3k7mgzyqdax23cdfa7da5gk0w8cjqwlssum9rtg04vzjayhfurftrh5glxjqcyqqqqqqgpm5qlt