Agent-JS 2.1.3 is Released

What’s Changed

We have a couple fixes and some improvements to errors in this release.

Fixes

  • Fixed an issue where read_state polling requests would fail after the initial expiry, but before the request was processed
    • This was an edge case for subnets under high load. The read_state is allowed to use a fresh ingress_expiry, so pollForResponse and retry logic now uses this pattern
  • Added a check to handle a regression when calling the management canister using the new sync_call flow

Error handling

Full Changelog: Comparing v2.1.2...v2.1.3 · dfinity/agent-js · GitHub

All changes here: Release Release 2.1.3 · dfinity/agent-js · GitHub

3 Likes