dfinity / agent-js

A collection of libraries and tools for building software around the Internet Computer, in JavaScript.
https://agent-js.icp.xyz
Apache License 2.0
153 stars 95 forks source link

feat: v3 api sync call #906

Closed krpeacock closed 1 month ago

krpeacock commented 3 months ago

Description

Implements sync_call functionality from the v3 api for improved performance. See https://github.com/dfinity/interface-spec/pull/265 for more details

Changes:

Fixes SDK-1448

How Has This Been Tested?

Updates to unit tests and e2e tests run against dfx 0.22.0 and 0.23.0 to ensure backwards compatibility

Checklist:

github-actions[bot] commented 3 months ago

size-limit report 📦

Path Size
@dfinity/agent 85.96 KB (+0.38% 🔺)
@dfinity/candid 13.58 KB (0%)
@dfinity/principal 4.97 KB (0%)
@dfinity/auth-client 60.36 KB (+0.11% 🔺)
@dfinity/assets 80.98 KB (+0.23% 🔺)
@dfinity/identity 57.56 KB (+0.11% 🔺)
@dfinity/identity-secp256k1 131.01 KB (+0.3% 🔺)