Releases: blockfrost/blockfrost-websocket-link
Releases · blockfrost/blockfrost-websocket-link
v2.1.0
Added
- Token metadata in assets transformations
Fixed
- Remove client from the list of clients on missed heartbeat
Changed
- process exits after health check fails for more than
HEALTHCHECK_FAIL_THRESHOLD_MS
(default 60s) - Bump Blockfrost SDK (memory leak in deriveAddress) and other dependencies
- Timeout for requests dispatched by blockfrost SDK set to 30s
- Log errors while fetching fiat rates as a warnings rather than errors
- (Internal) Refactored build step, entrypoint is now
dist/server.js
(previouslydist/src/server.js
) - (Internal) Upgrade codebase to ESM
- (Internal) Switched from PNP to node-modules linker
Removed
ts-node-dev
(yarn dev
no longer auto reloads on code change)
What's Changed
- exit process after healthcheck fails for prolonged period by @slowbackspace in #222
- chore: bump sdk by @slowbackspace in #223
- chore: bump deps and ESM migration by @slowbackspace in #224
- Prune list of stale subscriptions by @slowbackspace in #227
- nodejs 20 by @slowbackspace in #228
- fix(nix): specify dist files and bump pkgs by @1000101 in #229
- fix: yarn supported archs by @vladimirvolek in #230
- chore: log errors while fetching fiat rates as a warnings by @slowbackspace in #231
- Token metadata expose by @vladimirvolek in #233
- release: 2.1.0 by @vladimirvolek in #235
Full Changelog: v2.0.0...v2.1.0
v2.0.0
[2.0.0] - 2023-04-05
Added
- report node.js memory usage on
/metrics
GET_BALANCE_HISTORY
- aggregated sent/received/sentToSelf lovelace amounts for given range and groupBy paramhostname
field to getServerInfo response- report health check status in
/status
(is_healthy
)
Fixed
- use one global newBlock listener instead of one per each connection
- logic in
onBlock
callback called onnewBlock
event - ping-pong between a server and a client to keep connection alive
Changed
- throw error if any of the partial calls of GetAccountInfo fails
- memoized address derivation in getAccountInfo method
- transaction (as part of
getAccountInfo
or emitted as a notification for an address subscription) no longer includesblockInfo
field. (block_hash
,block_height
,block_time
are available directly in transaction object) - updated dependencies
v1.0.0
Added
- initial release