Skip to content
Compare
Choose a tag to compare
@aaronmgdr aaronmgdr released this 08 Dec 08:20

Breaking changes

As well as being the ABIS that correspond to celo core contracts release 10, there are a few breaking changes from release 9

  • ethers types have been removed completely
  • the javascript files previously in the types/web3 folder are no longer under types ie @celo/abis/types/web3/Accounts vs @celo/abis/web3/Accounts
  • the javascript files previously in the types/wagmi folder are now top level ie @celo/abis/Accounts vs @celo/abis/types/wagmi/Accounts

non breaking changes

  • both esm and cjs imports are supported
  • ts/js abis can be imported from index eg import { accountsABI } from "@celo/abis" however the json abis web3 specific functions/types must be imported direct from their file paths.

npm