Major Changes
-
#268
0161696Thanks @fracek! - Upgrade to starknet.js v5.Breaking changes:
- The
id,name, andiconmethods in theConnectorbase class are now
properties. - All Starknet.js types are now from v5. Follow Starknet.js migration
guide to update your
application.
This release also removes several deprecated functions:
useStarknetBlock, useuseBlock.useStarknetInvoke, useuseContractWritewith a single call.useStarknet. To access the currently connected account, using
useAccount. For the currentProviderInterface, use the newuseProvider
hook. Forconnect,disconnect, andconnectorsuseuseConnectors.
- The