NDK update to version 1 and fetching events is now 🚀🚀🚀🚀
https://einundzwanzigstr.codingarena.de
v0.4
Package Update 📦
Our team just updated the nostr-dev-kit package to its latest version v1.0.0. 🔄 This involves revising our ingredient list inside a file called package.json.
New Properties Additions 🔧
We've brought some new abilities to our ndkInstance object in the instance.js file. Specifically, we added outboxRelayUrls and enableOutboxModel features that help us manage information more efficiently. 🚀
Function Call Update 🔄
In our magic scroll (file) nostrEvents.js, we shifted the magical spell (function call) ndkEvent.publish() to be placed below this.openReactionModal = false;. Simply put, we changed the order of some actions. 👀
Await Additions ⏳
To ensure operations are completed at the right time, we've made some spells (function calls) wait patiently before they do their work. We did that by adding the await keyword to ndkEvent.publish() and jsConfetti.addConfetti() in nostrEvents.js. So, it's going to be smooth sailing from now on! 🎉