fiatjaf _@fiatjaf.com 2 years ago GitHubRelease v2.0.0 · nbd-wtf/nostr-toolsThe "core" API has been modified to be simpler, but it didn't really change much since there wasn't much to change. Most names were changed though.... was released with many changes that will break your app. Congratulations. I am too tired to test this now, so please test it for me and report bugs.
calvadev⚡️ calvadev@calva.dev 2 years ago nip19.decode() on an nsec returns a Uint8Array instead of a hex string. I submitted a pr for this, but it’s a quick fix regardless. GitHubAdded bytesToHex for nsec and npub decoding by calvadev · Pull Request #328 · nbd-wtf/nostr-toolsThe data value for nsec was returning as an Uint8Array rather than a hex string because the bytesToHex conversion wasn't being applied.