---
title: "@midnight-ntwrk/midnight-js-types 5.0.1 Breaking Changes"
description: "What each @midnight-ntwrk/midnight-js-types release removed, renamed or changed: 33 breaking changes in 2 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@midnight-ntwrk/midnight-js-types
last_updated: 2026-12-04
---

# @midnight-ntwrk/midnight-js-types breaking changes

@midnight-ntwrk/midnight-js-types 5.0.1 (November 17, 2026) is its newest release with breaking changes, 2 of them. The first: Signature changed PrivateStateImportErrorCause. Every breaking API change we have recorded in @midnight-ntwrk/midnight-js-types on npm: 33 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `5.0.1`, released November 17, 2026. [Source repository](https://github.com/midnight-ntwrk/artifacts)

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

- From [5.0.0](#v-5-0-0) to [5.0.1](#v-5-0-1): 2 breaking changes in 1 version.

## @midnight-ntwrk/midnight-js-types 5.0.1 breaking changes

@midnight-ntwrk/midnight-js-types 5.0.1, released November 17, 2026: 2 breaking changes.

- **Signature changed** `PrivateStateImportErrorCause`  

Was type PrivateStateImportErrorCause = 'decryption_failed' | 'invalid_format' | 'conflict' | 'unknown'; now type PrivateStateImportErrorCause = 'decryption_failed' | 'invalid_format' | 'conflict' | 'invalid_password' | 'unknown'. [npmjs.com](https://www.npmjs.com/package/@midnight-ntwrk/midnight-js-types/v/5.0.1)
- **Signature changed** `PROVIDER_ERROR_CODES`  

Was const PROVIDER_ERROR_CODES: Readonly<{readonly DECODER_ERA_UNSUPPORTED: "MIDNIGHT_JS_PR_DECODER_ERA_UNSUPPORTED"; readonly UNKNOWN_RECORD_ERA: "MIDNIGHT_JS_PR_UNKNOWN_RECORD_ERA"; readonly PROVIDER_ERA_UNSUPPORTED... [npmjs.com](https://www.npmjs.com/package/@midnight-ntwrk/midnight-js-types/v/5.0.1)

## @midnight-ntwrk/midnight-js-types 5.0.0 breaking changes

@midnight-ntwrk/midnight-js-types 5.0.0, released November 6, 2026: 31 breaking changes.

- **Removed** `ContractExecutableRuntimeOptions`  

ContractExecutableRuntimeOptions was removed in @midnight-ntwrk/midnight-js-types 5.0.0 [npmjs.com](https://www.npmjs.com/package/@midnight-ntwrk/midnight-js-types/v/5.0.0)
- **Removed** `createProofProvider`  

createProofProvider was removed in @midnight-ntwrk/midnight-js-types 5.0.0 [npmjs.com](https://www.npmjs.com/package/@midnight-ntwrk/midnight-js-types/v/5.0.0)
- **Removed** `FinalizedTxData`  

FinalizedTxData was removed in @midnight-ntwrk/midnight-js-types 5.0.0 [npmjs.com](https://www.npmjs.com/package/@midnight-ntwrk/midnight-js-types/v/5.0.0)
- **Removed** `makeContractExecutableRuntime`  

makeContractExecutableRuntime was removed in @midnight-ntwrk/midnight-js-types 5.0.0 [npmjs.com](https://www.npmjs.com/package/@midnight-ntwrk/midnight-js-types/v/5.0.0)
- **Removed** `PrivateStateProvider.clear`  

PrivateStateProvider.clear was removed in @midnight-ntwrk/midnight-js-types 5.0.0 [npmjs.com](https://www.npmjs.com/package/@midnight-ntwrk/midnight-js-types/v/5.0.0)
- **Removed** `PrivateStateProvider.exportPrivateStates`  

PrivateStateProvider.exportPrivateStates was removed in @midnight-ntwrk/midnight-js-types 5.0.0 [npmjs.com](https://www.npmjs.com/package/@midnight-ntwrk/midnight-js-types/v/5.0.0)
- **Removed** `PrivateStateProvider.get`  

PrivateStateProvider.get was removed in @midnight-ntwrk/midnight-js-types 5.0.0 [npmjs.com](https://www.npmjs.com/package/@midnight-ntwrk/midnight-js-types/v/5.0.0)
- **Removed** `PrivateStateProvider.importPrivateStates`  

PrivateStateProvider.importPrivateStates was removed in @midnight-ntwrk/midnight-js-types 5.0.0 [npmjs.com](https://www.npmjs.com/package/@midnight-ntwrk/midnight-js-types/v/5.0.0)
- **Removed** `PrivateStateProvider.remove`  

PrivateStateProvider.remove was removed in @midnight-ntwrk/midnight-js-types 5.0.0 [npmjs.com](https://www.npmjs.com/package/@midnight-ntwrk/midnight-js-types/v/5.0.0)
- **Removed** `PrivateStateProvider.set`  

PrivateStateProvider.set was removed in @midnight-ntwrk/midnight-js-types 5.0.0 [npmjs.com](https://www.npmjs.com/package/@midnight-ntwrk/midnight-js-types/v/5.0.0)

And 21 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Related packages

- [@midnight-ntwrk/midnight-js-indexer-public-data-provider](https://since.dev/packages/npm/@midnight-ntwrk/midnight-js-indexer-public-data-provider.md)
- [@midnight-ntwrk/midnight-js-contracts](https://since.dev/packages/npm/@midnight-ntwrk/midnight-js-contracts.md)
- [@midnight-ntwrk/compact-runtime](https://since.dev/packages/npm/@midnight-ntwrk/compact-runtime.md)
- [@midnight-ntwrk/wallet-sdk-address-format](https://since.dev/packages/npm/@midnight-ntwrk/wallet-sdk-address-format.md)
- [@midnight-ntwrk/wallet-sdk-dust-wallet](https://since.dev/packages/npm/@midnight-ntwrk/wallet-sdk-dust-wallet.md)
- [@midnight-ntwrk/wallet-sdk-facade](https://since.dev/packages/npm/@midnight-ntwrk/wallet-sdk-facade.md)

## 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.
