NEWTON

NEWTON


Popular tags

    Is there any issue between using 4.4 and 3.x starknet.js?

    Asked

    6 months ago

    101

    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

      starknet java script starknet jsdiscordcairo

    Newton

    asked

    6 months ago


    1 answers

    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

    6 months ago

    Your answer

    NEWTON

    NEWTON