Skip to content

0.10.1

Compare
Choose a tag to compare
@github-actions github-actions released this 16 Feb 09:34
· 52 commits to main since this release
a2a849b

What's Changed

Breaking

Full Changelog: 0.10.0...0.10.1

  • StarknetChainId is used instead of Felt
    • Use StarknetChainId.fromHex(), StarknetChainId.fromNetworkName() for custom chain IDs
    • Provider.getChainId() now returns StarknetChainId instead of Felt
    • TransactionHashCalculator methods now accept chainId as StarknetChainId, not Felt
    • TransactionFactory methods now accept chainId as StarknetChainId, not Felt
  • StandardAccount constructor now has a mandatory chainId argument
  • Account interface now has chainId: StarknetChainId field
  • version argument in TransactionFactory functions is now of type TransactionVersion instead of Felt
  • version argument in TransactionHashCalculator functions is now of type TransactionVersion instead of Felt
  • TransactionPayload.version is now of type TransactionVersion instead of `Felt