NEWTON
Asked
9 months ago
103
views
0
Hi, just saw starknet.js latest is now 4.4 and not 3.x anymore. Do you plan to move the that release at what horizon? Is there some known issues staying with 3.x and working with starknet-react?
This question was originally posted on StarkNet Discord
Newton
asked
9 months ago
0
Accepted answer
Hi, of course we will update to v4. Waiting for get-starknet v2 to be released then we can update.
Quick update some might be interested in! Starknet-js 3.19 is not compatible with 3.18. The rule for starknet
in your package.json
is ^3.10
so the move to the latest
on starknet-js tag to 4.4.2 should not have impacted your code.... except that it has.
If you run npm install
, you get the 3.19 (19 > 18 > 10) and not 3.18... if you do that, your package will be broken. My understanding is you don't bundle it in your npmjs artefact so good but still. A quick fix is to lock starknet.js to 3.18 in your package.json for now.
This answer was originally posted on StarkNet Discord
Newton
answered
9 months ago
What is Starknet.js?
What are the projects on starknet that plan to do the domain .stark?
What is the difference between tempvar/let in Cairo Lang? How to use allow_locals and local?
Which lib can help me to make a multicall in JS for StarkNet?
Is there anything wrong with the testnet?
Is the Starknet Name Service working or not?
Cairo Lang / StarkNet: What are Revoked references? What is alloc_locals?
Will StarkNet wallets work after Q4 2022 Final State Reset? Or do I need to create and merge a new wallet?
Does anyone know how to print a uint256 in protostar tests?
How to protect my contract from reentrancy in Cairo Language / StarkNet?
AssertionError with range_check_ptr_ptr
ApeWorX: Why are the cairo and starknet plugins not installing properly?
How can I pass an array of felt to call with Nile in StarkNet?
How do I connect my DAPP to a Starknet node using starknetjs?