---
title: "@cashu/cashu-ts 4.13.1 Breaking Changes on npm | Since.dev"
description: "What each @cashu/cashu-ts release removed, renamed or changed: 5 breaking changes in 3 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@cashu/cashu-ts
last_updated: 2026-12-04
---

# @cashu/cashu-ts breaking changes

@cashu/cashu-ts 4.13.1 (November 10, 2026) is its newest release with breaking changes, 2 of them. The first: Normal sends now swap locked P2PK/HTLC inputs before sending in @cashu/cashu-ts 4.13.1. Every breaking API change we have recorded in @cashu/cashu-ts on npm: 5 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.14.1`. [Source repository](https://github.com/cashubtc/cashu-ts)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [4.12.0](#v-4-12-0) to [4.13.1](#v-4-13-1): 4 breaking changes in 2 versions.

## @cashu/cashu-ts 4.13.1 breaking changes

@cashu/cashu-ts 4.13.1, released November 10, 2026: 2 breaking changes.

- **Behavior changed**  

Normal sends now swap locked P2PK/HTLC inputs first, so existing code that sends locked proofs will trigger a swap. Check that this extra mint round trip is acceptable. [github.com](https://github.com/cashubtc/cashu-ts/releases/tag/v4.13.1)
- **Behavior changed**  

Offline sends keep the DLEQ proof on each proof, so encoded tokens can be larger. Pass removeDleq to getEncodedToken if token size matters. [github.com](https://github.com/cashubtc/cashu-ts/releases/tag/v4.13.1)

## @cashu/cashu-ts 4.13.0 breaking changes

@cashu/cashu-ts 4.13.0, released October 27, 2026: 2 breaking changes.

- **Signature changed** `PaymentRequest.constructor`  

Was constructor(transport?: PaymentRequestTransport\[\] | undefined, id?: string | undefined, amount?: AmountLike, unit?: string | undefined, mints?: string\[\] | undefined, description?: string | undefined, singleUse?: boolean, nut10?... [npmjs.com](https://www.npmjs.com/package/@cashu/cashu-ts/v/4.13.0)
- **Signature changed** `RawPaymentRequest`  

Was type RawPaymentRequest = {i?: string; a?: number | bigint; u?: string; s?: boolean; m?: string\[\]; d?: string; t?: RawTransport\[\]; nut10?: RawNUT10Option;}; now type RawPaymentRequest = {i?: string; a?: number | bigint; u?: string; s?... [npmjs.com](https://www.npmjs.com/package/@cashu/cashu-ts/v/4.13.0)

## @cashu/cashu-ts 4.12.0 breaking changes

@cashu/cashu-ts 4.12.0, released October 20, 2026: 1 breaking change.

- **Behavior changed**  

V4 tokens with invalid text fields are now rejected when decoded, where they were previously accepted. Code that decodes untrusted tokens may need to handle these errors. [github.com](https://github.com/cashubtc/cashu-ts/releases/tag/v4.12.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
