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-rc3Published at
2024-12-20 08:58:39Event JSON
{
"id": "adfc526657445d227b0bbb81fba36199bf58f001728a9351316366da7c94a671",
"pubkey": "ddf03aca85ade039e6742d5bef3df352df199d0d31e22b9858e7eda85cb3bbbe",
"created_at": 1734685119,
"kind": 1,
"tags": [],
"content": "📣 Looking for the bravest of the brave\n\nWe 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.\n\nWhile 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.\n\nThis version includes:\n\nNew build pipeline (dropped ES5, targeting ES2020)\nCustom Output Data\nOutput Factories\nBinary Token En/Decoding\nModern P2PK (locktime, refund keys)\nDX:\n\nMigrated to modern TypeScript\nChanged bundler to vite\nChanged Testing to vitest\nAdded browser testing using Playwright\n\nThanks 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\n\nhttps://www.npmjs.com/package/@cashu/cashu-ts/v/2.2.0-rc3",
"sig": "32b3eab9a852b7c6c65b35ac85c95e24c2efc78b2a7aa99da2657fb3aa4951f651de154deed8ee9bd1b8e497bfe1fb59768d1085bacf6e2be15654a25c936049"
}