Sourced from @dfinity/auth-client
's
releases.
Release 2.1.1
What's Changed
- feat(asset): add headers to StoreArgs by
@chenyan-dfinity
in dfinity/agent-js#928Full Changelog: https://github.com/dfinity/agent-js/compare/v2.1.0...v2.1.1
Release 2.1.0
Noteworthy Features
This feature includes the v3 synchronous call API! Calls to mainnet are able to bypass polling using the new endpoint
The HttpAgent allows you to set and read
replicaTime
, which it will maintain information about in order to handle disagreements between the client and replica about time.Fixes and improvements for the
useAuthClient
libraryOther changes and enhancements
- chore: updating dependencies for elliptic advisory by
@krpeacock
in dfinity/agent-js#912- feat: management canister interface schnorr update by
@krpeacock
in dfinity/agent-js#913- feat: use-auth-client react hook by
@krpeacock
in dfinity/agent-js#911- docs: documentation and metadata for use-auth-client by
@krpeacock
in dfinity/agent-js#914- feat: ensure that seed phrase must produce a 64 byte seed by
@krpeacock
in dfinity/agent-js#915- feat: new option for setting rootKey during agent creation by
@krpeacock
in dfinity/agent-js#918- chore: npm audit by
@krpeacock
in dfinity/agent-js#919- fix: passing request correctly during pollForResponse Processing status by
@krpeacock
in dfinity/agent-js#909- feat: v3 api sync call by
@krpeacock
in dfinity/agent-js#906- docs: clarifies meaning of
effectiveCanisterId
inCallOptions
by@krpeacock
in dfinity/agent-js#920- feat: exports polling utilities from
@dfinity/agent
by@krpeacock
in dfinity/agent-js#921- feat: multi-actor config by
@krpeacock
in dfinity/agent-js#916- feat: expose inner certificate in Certificate by
@krpeacock
in dfinity/agent-js#925- fix: build paths on use-auth-client by
@pocesar
in dfinity/agent-js#922- feat: allow option set agent replica time by
@krpeacock
in dfinity/agent-js#923- chore: awaits prettier formatting by
@krpeacock
in dfinity/agent-js#926New Contributors
@pocesar
made their first contribution in dfinity/agent-js#922Full Changelog: https://github.com/dfinity/agent-js/compare/v2.0.0...v2.1.0
Sourced from @dfinity/auth-client
's
changelog.
[2.1.1] - 2024-09-13
Added
- fix: support for headers during upload with
@dfinity/assets
[2.1.0] - 2024-09-12
Added
- chore: awaits prettier formatting in release automation
- feat: expose inner certificate in
Certificate
for inspection or use in raw calls.Certificate.cert
is now a public property- feat: allow creation of multiple Actors in
useAuthClient
by passing a record toactorOptions
with the actor name as the key, andCreateActorOptions
as the value- feat: sync_call support in HttpAgent and Actor
- Skips polling if the sync call succeeds and provides a certificate
- Falls back to v2 api if the v3 endpoint 404's
- Adds certificate to SubmitResponse endpoint
- adds callSync option to
HttpAgent.call
, which defaults totrue
- feat: management canister interface updates for schnorr signatures
- feat: ensure that identity-secp256k1 seed phrase must produce a 64 byte seed
- docs: documentation and metadata for use-auth-client
- feat: adds optional
rootKey
toHttpAgentOptions
to allow for a custom root key to be used for verifying signatures from other networks- chore: npm audit bumping micromatch
- feat: exports polling utilities from
@dfinity/agent
for use in other packages
pollForResponse
now uses the default strategy by default- Updated the
bls-verify
jsdoc comment to accurately reflect that the default strategy now uses@noble/curves
- docs: clarifies meaning of
effectiveCanisterId
inCallOptions
Changed
- feat: replaces hdkey and bip32 implementations with
@scure/bip39
and@scure/bip32
due to vulnerability and lack of maintenance forelliptic
- chore: bumps dev dependency versions to remove warnings
- chore: addresses eslint errors uncovered by bumping eslint version