Skip to content

v0.8.2

Compare
Choose a tag to compare
@DelevoXDG DelevoXDG released this 19 Feb 14:33
· 27 commits to main since this release
4bf3c72

What's Changed

Breaking changes

  • Re-intruduce StarknetChainId as a struct
    • StarknetChainId is used instead of Felt; Use StarknetChainId.init(fromHex:), StarknetChainId.init(fromNetworkName:) for custom chain IDs
    • StarknetProviderProtocol.getChainId() now returns StarknetChainId instead of Felt
    • StarknetTransactionHashCalculator methods now take chain ID as StarknetChainId instead of Felt
  • StarknetAccount constructor now has a mandatory chainId argument
  • StarknetAccountProtocol now has chainId: StarknetChainId property

Full Changelog: v0.8.1...v0.8.2