Skip to content

Releases: casper-ecosystem/casper-js-sdk

Casper JS SDK v5.0.11

01 Apr 15:25
459e7b9

Choose a tag to compare

Added

  • ESM build output (dist/lib.esm.mjs) via webpack experiments.outputModule, enabling native named imports in modern TypeScript and Node.js ESM projects
  • "exports" field in package.json routing ESM consumers (import) to lib.esm.mjs and CJS consumers (require) to lib.node.js
  • "module" field in package.json for 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 HttpHandler covering both axios and fetch client paths, including success, HTTP errors, and network failures

Fixed

  • DEP0169 deprecation warning (url.parse()) on Node.js 22 from two sources:
    • Removed unused @open-rpc/client-js dependency whose compiled mock (build/__mocks__/requestData.js) called url.parse() during test runs
    • Switched axios to its built-in fetch adapter (adapter: 'fetch'), bypassing follow-redirects which called url.parse() on every RPC request
  • HttpError being silently swallowed in processFetchRequest: the status check is now outside the try/catch so HttpError propagates correctly to callers instead of being re-wrapped as a generic Error
  • Named imports failing with SyntaxError in modern TypeScript projects using "module": "ESNext" — caused by the lack of an "exports" field and the UMD bundle being unanalyzable by Node.js cjs-module-lexer

Full Changelog: 5.0.10...5.0.11

Casper JS SDK v5.0.10

24 Feb 14:12
d95aea2

Choose a tag to compare

What's Changed

Added

  • BidAddr tag
  • Template entry point access value
  • EntryPointAccess instance

Fixed

  • Security vulnerabilities in dependencies

Full Changelog: 5.0.9...5.0.10

Casper JS SDK v5.0.9

19 Jan 12:29
829100a

Choose a tag to compare

What's Changed

Full Changelog: 5.0.8...5.0.9

Casper JS SDK v5.0.8

08 Jan 15:25
5a3fe3c

Choose a tag to compare

Fixed

Full Changelog: 5.0.7...5.0.8

Casper JS SDK v5.0.7

04 Dec 15:37
42788c0

Choose a tag to compare

Added

  • CEP-95 support for NFT transfers
  • Documentation for Transaction builder
  • Updated README.md
  • Add protocol_major_version as optional property in ByPackageHash and ByPackageName invocations

Fixed

  • Issue with speculative client response deserialization
  • Issue when gas_price not set to value indicated in payment
  • Optional data type in NFT transfer utils

Changed

  • Deprecate getStateItem in favor of queryLatestGlobalState

Full Changelog: 5.0.6...5.0.7

Casper JS SDK v5.0.6

01 May 11:00
998aae5

Choose a tag to compare

Fixed

  • Issue with speculative client response deserialization

Full Changelog: 5.0.5...5.0.6

Casper JS SDK v5.0.5

23 Apr 15:04
6a8546e

Choose a tag to compare

Fixed

Changed

Full Changelog: 5.0.4...5.0.5

Casper JS SDK v5.0.4

22 Apr 12:18
ab7062b

Choose a tag to compare

Added

Full Changelog: 5.0.3...5.0.4

Casper JS SDK v5.0.3

14 Apr 12:14
afb8cc0

Choose a tag to compare

Fixed

Full Changelog: 5.0.2...5.0.3

Casper JS SDK v5.0.2

11 Apr 15:55
201dac7

Choose a tag to compare

Fixed

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

Full Changelog: 5.0.1...5.0.2