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
155 stars 96 forks source link

feat: exports polling utilities from `@dfinity/agent` #921

Closed krpeacock closed 2 months ago

krpeacock commented 2 months ago

Description

Noted by @peterpeterparker - the agent doesn't export the utilities out of the polling submodule.

At the same time, I've set the default polling strategy as an actual default, and the argument can now be omitted

Checklist:

github-actions[bot] commented 2 months ago

size-limit report 📦

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