0.10.1
What's Changed
- Revert "Use Felt instead of StarknetChainId (#406)" by @DelevoXDG in #416
- Set chain ID in
StandardAccount
constructor by @DelevoXDG in #419 - Support custom chain IDs by @DelevoXDG in #417
- Add
TransactionVersion
enum by @DelevoXDG in #413
Breaking
Full Changelog: 0.10.0...0.10.1
StarknetChainId
is used instead ofFelt
- Use
StarknetChainId.fromHex()
,StarknetChainId.fromNetworkName()
for custom chain IDs Provider.getChainId()
now returnsStarknetChainId
instead ofFelt
TransactionHashCalculator
methods now acceptchainId
asStarknetChainId
, notFelt
TransactionFactory
methods now acceptchainId
asStarknetChainId
, notFelt
- Use
StandardAccount
constructor now has a mandatorychainId
argumentAccount
interface now haschainId: StarknetChainId
fieldversion
argument inTransactionFactory
functions is now of typeTransactionVersion
instead ofFelt
version
argument inTransactionHashCalculator
functions is now of typeTransactionVersion
instead ofFelt
TransactionPayload.version
is now of typeTransactionVersion
instead of `Felt