hadronous / pic-js

An Internet Computer Protocol canister testing library for TypeScript and JavaScript.
https://hadronous.github.io/pic-js/
Apache License 2.0
11 stars 6 forks source link

Agent-js v2 #67

Open peterpeterparker opened 1 month ago

peterpeterparker commented 1 month ago

Hi,

It would be nice if you could bump agent-js to ^v2.0.0 because most libs of the foundation are shipped with this requirement.

Note that it doesn't matter that much given the uncertainty around Juno's future, but it prevents me from upgrading for example.

peterpeterparker commented 1 month ago

That said, I just add issues with agent-js v2.0.0 and @dfinity/ic-management so might want to check first if the newer version of agent-js works as I literally faced issue Canister aaaaa-aa not in range of delegations for subnet.

peterpeterparker commented 1 month ago

Alright agent-js v2.0.0 works with @dfinity/ic-management but, you have to pay atttention that each and every single dependencies of agent-js, also the peer dependencies added to package-lock have to point to v2.0.0 precisely as well.

peterpeterparker commented 1 month ago

The SDK team is working on the fix.

peterpeterparker commented 1 month ago

Agent-js v2.1.3 has been patched.

nathanosdev commented 1 month ago

Thanks for all the info @peterpeterparker! I'm going to get to this soon