Releases: casper-ecosystem/casper-js-sdk
Releases · casper-ecosystem/casper-js-sdk
Casper JS SDK v5.0.11
Added
- ESM build output (
dist/lib.esm.mjs) via webpackexperiments.outputModule, enabling native named imports in modern TypeScript and Node.js ESM projects "exports"field inpackage.jsonrouting ESM consumers (import) tolib.esm.mjsand CJS consumers (require) tolib.node.js"module"field inpackage.jsonfor bundler tools (Vite, Rollup, esbuild) that use it for tree-shaking"engines": { "node": ">=18" }to formally declare the minimum Node.js version required by the fetch adapter- Unit tests for
HttpHandlercovering bothaxiosandfetchclient paths, including success, HTTP errors, and network failures
Fixed
DEP0169deprecation warning (url.parse()) on Node.js 22 from two sources:- Removed unused
@open-rpc/client-jsdependency whose compiled mock (build/__mocks__/requestData.js) calledurl.parse()during test runs - Switched
axiosto its built-infetchadapter (adapter: 'fetch'), bypassingfollow-redirectswhich calledurl.parse()on every RPC request
- Removed unused
HttpErrorbeing silently swallowed inprocessFetchRequest: the status check is now outside thetry/catchsoHttpErrorpropagates correctly to callers instead of being re-wrapped as a genericError- Named imports failing with
SyntaxErrorin modern TypeScript projects using"module": "ESNext"— caused by the lack of an"exports"field and the UMD bundle being unanalyzable by Node.jscjs-module-lexer
Full Changelog: 5.0.10...5.0.11
Casper JS SDK v5.0.10
What's Changed
Added
BidAddrtag- Template entry point access value
EntryPointAccessinstance
Fixed
- Security vulnerabilities in dependencies
Full Changelog: 5.0.9...5.0.10
Casper JS SDK v5.0.9
What's Changed
- Fix an issue with parsing list of U8 by @alexmyshchyshyn in #587
- Update dependecies to the latest version by @alexmyshchyshyn in #588
Full Changelog: 5.0.8...5.0.9
Casper JS SDK v5.0.8
Fixed
- Fix an issue with parsing protocol_version_major when it's null by @alexmyshchyshyn in #581
Full Changelog: 5.0.7...5.0.8
Casper JS SDK v5.0.7
Added
- CEP-95 support for NFT transfers
- Documentation for
Transactionbuilder - Updated README.md
- Add protocol_major_version as optional property in
ByPackageHashandByPackageNameinvocations
Fixed
- Issue with speculative client response deserialization
- Issue when
gas_pricenot set to value indicated in payment - Optional data type in NFT transfer utils
Changed
- Deprecate
getStateItemin favor ofqueryLatestGlobalState
Full Changelog: 5.0.6...5.0.7
Casper JS SDK v5.0.6
Casper JS SDK v5.0.5
Fixed
- Issue with declaration circular dependencies by @alexmyshchyshyn in #563
Changed
- Updated documentation with query latest balance method by @alexmyshchyshyn in #562
Full Changelog: 5.0.4...5.0.5
Casper JS SDK v5.0.4
Added
- Query the latest balance utility function for Casper Network by @alexmyshchyshyn in #559
Full Changelog: 5.0.3...5.0.4
Casper JS SDK v5.0.3
Casper JS SDK v5.0.2
Fixed
- Issue with parsing named keys for AccountInfo and Contracts by @alexmyshchyshyn in #552
- Parsing of arguments keys for transaction V1 by @alexmyshchyshyn in #554
Changed
- Replace key-encoder lib with equal internal implementation by @Comp0te in #551
- Extended the CasperNetwork utility getTransaction method with a fallb… by @ihor in #555
Added
- Support for prefix entity-contract- for contract hashes by @alexmyshchyshyn in #553
Full Changelog: 5.0.1...5.0.2