Both filecoin.js libraries mentioned on this page are out of date
JS devs can also use EVM libraries like ethers.js, etc., viem.sh for wallet/FEVM interactions
The storage deal workflow is pretty Lotus CLI heavy… I would just convert this to all via Lotus CLI for now and remove the filecoin.js bits and move it to a new page: “Make a Storage Deal”
On https://lotus.filecoin.io/tutorials/lotus/build-with-lotus-api/: