Turns out the new stable release of NextJS depends on a React version that is a release candidate. I really do love TypeScript, but this whole ecosystem is simply f'ed up...
Just released a tiny cashu-ts update (v2.1) πŸ”₯ πŸ₯œ Added a MintInfo class that makes it easier to check wether a mint supports a certain optional NUT: image
This is turning out to be the biggest change I have made to cashu-ts so far... But the possibilities are endless! In this example we receive a token and swap it into proofs locked to two pubkeys, as well as some standard secret locked proofs. All in one operation. image
Implementing fully customisable blinded messages in cashu-ts nearly drove me insane. Maybe it had something to do with the fact that my phone had deleted my local music and I listened to the same 4 songs on the plane, over and over again for 4 hours… idk… but at the end I decided that the blinding / unblinding logic inside cashu-ts needs a massive refactor before we can continue the custom messages. So LFGN πŸ₯œ image
Take some time off - vacation on a Bitcoin standard, and come to Madeira! 🏠 Rent your Bitcoin apartment at 🚘 Rent your Bitcoin car at πŸ’» Do some work at your Bitcoin Coworking space at πŸ₯© Get top-of-the-line Bitcoin Picanha at: 🩳 Get your Bitcoin swimwear at πŸ„β€β™‚οΈ Ride the Bitcoin waves at πŸ—ΊοΈ And for everything else find one of the 125+ Bitcoin merchants around the island at
Experimenting with the cashu-ts build steps today... There is now a standalone bundle of cashu-ts: https://nosto.re/f64b80193b9490092e7194cad5500a666ba5de9ed984d95ec2fb46e6bebafbc1.js
cashu-ts v2.0 released! I am thrilled to announce that v2.0 of your favourite cashu lib for the web has just been released! Next to adding a bunch of awesome new features, this release streamlines a lot of the libraries API and improves DX. Here's a quick overview: What's New: - Enhanced token handling with V4 Tokens as the default. - Payment requests and WebSocket updates with NUT-17 and NUT-18 support. - Send, receive and verify DELQs with NUT-12 support. - Streamlined the API, as well as most of the typing. - Added functionalities like fees and coin selection and the new checkProofsStates() method. If you want to get started using cashu-ts: npm i @cashu/cashu-ts If you are upgrading from an older version make sure to check out the migration doc: πŸ“ƒ.md