Why Nostr? What is Njump?
2024-12-20 08:58:39

Egge on Nostr: 📣 Looking for the bravest of the brave We have just released a new RC of cashu-ts ...

📣 Looking for the bravest of the brave

We have just released a new RC of cashu-ts v2.2. This is an experimental canary release, including the output of our revamped build pipeline and the new OutputData / Factory patterns.

While the API is non-breaking, these changes are considered experimental and require some field testing. Therefore, we would highly appreciate any brave testers who would go ahead and take the RC for a test ride. What would be most interesting is whether the new build output can be plugged into existing projects without breaking anything.

This version includes:

New build pipeline (dropped ES5, targeting ES2020)
Custom Output Data
Output Factories
Binary Token En/Decoding
Modern P2PK (locktime, refund keys)
DX:

Migrated to modern TypeScript
Changed bundler to vite
Changed Testing to vitest
Added browser testing using Playwright

Thanks to the new build pipeline we will also be offering a standalone build, available for projects that prefer loading cashu-ts from a script tag, rather than using a bundler. This will be released in a couple of hours

https://www.npmjs.com/package/@cashu/cashu-ts/v/2.2.0-rc3
Author Public Key
npub1mhcr4j594hsrnen594d7700n2t03n8gdx83zhxzculk6sh9nhwlq7uc226