github cashubtc/cashu-ts v4.0.0-rc1

pre-release7 hours ago

What's Changed

  • chore!: remove support for CJS build by @KvngMikey in #524
  • chore: update react tsconfig for TS6.0 by @robwoodgate in #541
  • feat!: migrate amount-bearing APIs to use Amount VO by @robwoodgate in #533
  • feat!: tighten mint/melt API; remove MeltBlanks and prefer_async by @robwoodgate in #534
  • feat!: Proof.amount → bigint, strip crypto primitives, consolidate melt by @robwoodgate in #537
  • feat!: Add bigint support to CBOR for creqA payment requests by @KvngMikey in #538
  • feat: bigint roundtrip for v3/v4 tokens, wire in the enhanced CBOR by @robwoodgate in #539
  • feat!: multi-unit KeyChain, cache API cleanup, deprecation removal by @robwoodgate in #540
  • fix!: prevent getEncodedToken from mutating input token proofs by @gudnuf in #536
  • chore: remove deprecated mint/wallet/model types. Clean up test LSP issues by @robwoodgate in #542
  • chore: remove remaining deprecated methods/types/functions by @robwoodgate in #543
  • chore: update docs - v3 is now the lts version. Add v4 base64 tests by @robwoodgate in #547
  • chore: update version workflow to allow rc releases by @robwoodgate in #548
  • chore(docs): update release info by @robwoodgate in #549
  • fix: harden fetch RequestInit against client fingerprinting by @robwoodgate in #545
  • fix: normalize and dedup p2pk pubkeys / refund keys at edges by @robwoodgate in #546
  • refactor: narrow Proof params to Pick<> where full object isn't needed by @robwoodgate in #550
  • feat!: generic mint/melt methods for custom payment types by @robwoodgate in #544
  • refactor: split wallet tests file by feature by @robwoodgate in #551
  • ci: add Codecov integration and deduplicate workflow triggers by @robwoodgate in #554
  • ci: include integration tests in codecov by @robwoodgate in #555
  • chore: add swap/improvement test for RGLI by @robwoodgate in #556
  • chore: cleanup redundant files, tidy tsdocs by @robwoodgate in #557
  • refactor: remove ConnectionManager singleton by @robwoodgate in #552
  • refactor!: tidy and harden core utils by @robwoodgate in #553
  • feat!: remove v3 token encoding; accept raw proofs in receive flows by @robwoodgate in #558
  • chore: update dev toolchain and vite/vitest config by @robwoodgate in #559

Full Changelog: v3.6.1...v4.0.0-rc1

Don't miss a new cashu-ts release

NewReleases is sending notifications on new releases.