Skip to content

Releases: blockfrost/blockfrost-js

v4.2.0

06 Jul 15:11
a87ba56
Compare
Choose a tag to compare

Added

  • addressesUtxosAsset, addressesUtxosAssetAll methods returning list of the address's utxos containing a given asset
  • verifyWebhookSignature to verify signature sent as part of Blockfrost webhook request
  • url property in BlockfrostServerError and BlockfrostClientError objects set to an URL where the failed request was sent to

Fixed

  • deriveAddress memory leak by freeing WASM objects

Changed

  • updated @blockfrost/openapi & regenerated types to reflect changes in Blockfrost API

v4.1.0

23 Mar 12:20
78c9268
Compare
Choose a tag to compare

Added

Changed

  • Updated cardano-serialization-lib to v10
  • Lowered number of retries for failed requests to 3

v4.0.1

21 Jan 19:23
5569689
Compare
Choose a tag to compare

Removed

  • order pagination option from epochsNext, epochsPrevious, blocksNext, and blocksPrevious

v4.0.0

06 Jan 13:40
Compare
Choose a tag to compare

⚠️ Breaking changes

  • scriptscriptsByHash
  • scriptDatumscriptsDatum
  • scriptRedeemersscriptsRedeemers
  • scriptJsonscriptsJson
  • scriptCborscriptsCbor

Added

  • added exports for util functions getFingerprint deriveAddress
  • poolsExtended, poolsExtendedAll endpoints
  • blockAddress, blockAddresses for retrieving all addresses that were affected in a block

Changed

  • deriveAddress is no longer a method on BlockfrostAPI, but rather a standalone function exported from @blockfrost/blockfrost-js

Fixed

  • params in deriveAddress and stake address derivation
  • incorrect user-agent header

Removed

  • getAccount method

v3.0.2

03 Dec 13:11
1b65da6
Compare
Choose a tag to compare

Added

  • testnet option for getAccount

v3.0.1

01 Dec 15:51
ee571eb
Compare
Choose a tag to compare

3.0.0 was accidentally tagged as beta in npm

v3.0.0

01 Dec 15:42
425fc85
Compare
Choose a tag to compare

Added

  • http2 option (default false)
  • debug option (default false) - logs to stdout/stderr all fired request and errors thrown by Got
  • derive network from project id
  • new helper methods epochsBlocksAll, epochsBlocksByPoolIdAll, epochsStakesAll, epochsStakesByPoolIdAll and poolsAll
  • new methods addressesExtended and accountsAddressesTotal

⚠️ Breaking changes

Changed

  • thrown errors (BlockfrostServerError, BlockfrostClientError) are now subclasses of Error
  • updated @blockfrost/openapi & regenerated types to match reflect changes in Blockfrost API

Fixed

  • return type of epochsStakesByPoolId and epochsBlocksByPoolId

v2.0.2

18 Oct 12:24
b34d386
Compare
Choose a tag to compare

Fixed

  • assetsPolicyById response schema
  • ipfs add maxContentLength and maxBodyLength

v2.0.1

14 Sep 19:11
9c33acb
Compare
Choose a tag to compare

Fixed

  • metadataTxsLabels and metadataTxsLabel endpoints types

v2.0.0

14 Sep 14:26
5785740
Compare
Choose a tag to compare

⚠️ Breaking change - Fix

  • sort response in getAccount