Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,21 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### Removed
-->

### [5.0.12] - 2026-04-29

### Added

- `"react-native"` and `"browser"` conditions to `package.json` `"exports"` - fixes resolution under Metro (React Native 0.85+) and web bundlers that honor Package Exports, which previously fell through to the Node build and pulled in Node core modules unavailable in those environments. Conditions are placed above `require`/`default` so conditional resolution matches them first.

### Removed

- ESM build output (`dist/lib.esm.mjs`) and the corresponding webpack `esmConfig`
- `"import"` condition from `"exports"` and the `"module"` field from `package.json`

### Fixed

- Import failures in downstream projects caused by the ESM bundle introduced in 5.0.11

### [5.0.11] - 2026-04-01

### Added
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "casper-js-sdk",
"version": "5.0.11",
"version": "5.0.12",
"license": "Apache 2.0",
"description": "SDK to interact with the Casper blockchain",
"homepage": "https://github.com/casper-ecosystem/casper-js-sdk#README.md",
Expand Down
Loading