@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
On this page
Latest version 5.0.1, released November 17, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
@midnight-ntwrk/midnight-js-types 5.0.1 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 - 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
@midnight-ntwrk/midnight-js-types 5.0.0 breaking changes
- Removed
ContractExecutableRuntimeOptions
ContractExecutableRuntimeOptions was removed in @midnight-ntwrk/midnight-js-types 5.0.0 npmjs.com - Removed
createProofProvider
createProofProvider was removed in @midnight-ntwrk/midnight-js-types 5.0.0 npmjs.com - Removed
FinalizedTxData
FinalizedTxData was removed in @midnight-ntwrk/midnight-js-types 5.0.0 npmjs.com - Removed
makeContractExecutableRuntime
makeContractExecutableRuntime was removed in @midnight-ntwrk/midnight-js-types 5.0.0 npmjs.com - Removed
PrivateStateProvider.clear
PrivateStateProvider.clear was removed in @midnight-ntwrk/midnight-js-types 5.0.0 npmjs.com - Removed
PrivateStateProvider.exportPrivateStates
PrivateStateProvider.exportPrivateStates was removed in @midnight-ntwrk/midnight-js-types 5.0.0 npmjs.com - Removed
PrivateStateProvider.get
PrivateStateProvider.get was removed in @midnight-ntwrk/midnight-js-types 5.0.0 npmjs.com - Removed
PrivateStateProvider.importPrivateStates
PrivateStateProvider.importPrivateStates was removed in @midnight-ntwrk/midnight-js-types 5.0.0 npmjs.com - Removed
PrivateStateProvider.remove
PrivateStateProvider.remove was removed in @midnight-ntwrk/midnight-js-types 5.0.0 npmjs.com - Removed
PrivateStateProvider.set
PrivateStateProvider.set was removed in @midnight-ntwrk/midnight-js-types 5.0.0 npmjs.com
And 21 more in this version. Sign up to see every change
Related packages
- @midnight-ntwrk/midnight-js-indexer-public-data-provider
- @midnight-ntwrk/midnight-js-contracts
- @midnight-ntwrk/compact-runtime
- @midnight-ntwrk/wallet-sdk-address-format
- @midnight-ntwrk/wallet-sdk-dust-wallet
- @midnight-ntwrk/wallet-sdk-facade
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.