NDK 2.2.0 released!

Codename: OAuth unleashsed

This release includes new features that will be proposed for NIP-46 that create an OAuth experience.

More things:

* NDK is now 13x faster

* NDK-Svelte-Components event rendering now neatly renders images as a carousel when appropriate

* Tons of bugfixes

Demo video:

nostr:note1ykstnu4l09xyrqyvq8xk7gvfe2m40sse6ezy82gy8u3zdv3k60tsqmnhj6

Reply to this note

Please Login to reply.

Discussion

Can you elaborate what is 13 times faster? Did you minify so it loads faster? Is the signature check faster? ...

So event emission is 13 times faster. That is a tiny cog in the machinery. It is a nice and simple improvement but the very basic test in the linked PR shows a 5% improvement, not a 1200% improvement.

And ... sorry for being so negative but I had hoped for some signature verification improvement or so. Some actual bottleneck fix.

Thanks. Next project I'll try out svelte!

No, NDK relies heavily on events firing off inside the application (not nostr events); nostr:npub1zfss807aer0j26mwp2la0ume0jqde3823rmu97ra6sgyyg956e0s6xw445 made a PR to switch NDK to a way-faster event library, hence the performance gains 😉