0.12.0
What's Changed
- Remove support for sending v1
DECLARE
transactions by @franciszekjob in #453 and #475 - Prepend array length in
FeltArray
serialization by @franciszekjob in #458 - Allow integer
revision
inTypedData.Domain
by @DelevoXDG in #449 - Support batching RPC requests by @franciszekjob in #455 and #471
- Remove Goerli chain ID support by @franciszekjob in #454
Breaking changes
- v1
DECLARE
is no longer supported FeltArray
:toCalldata()
method now returns list with prepended array length instead of just listTypedData.Domain.Revision
is now of typeJsonPrimitive?
instead ofTypedData.Revision?
- Use
TypedData.Domain.resolvedRevision
to access revision asTypedData.Revision
- Removed Goerli support
- Change returned type in
JsonRpcProvider
methods:getSpecVersion(): HttpRequest<String>
->getSpecVersion(): HttpRequest<StringResponse>
callContract(...): HttpRequest<List<Felt>>
->callContract(...): HttpRequest<FeltArray>
getBlockNumber(): HttpRequest<Int>
->getBlockNumber(): HttpRequest<StarknetInt>
getBlockTransactionCount(...): HttpRequest<Int>
->getBlockTransactionCount(...): HttpRequest<IntResponse>
getEstimateFee(...): HttpRequest<List<EstimateFeeResponse>>
->getEstimateFee(...): HttpRequest<EstimateFeeResponseList>
simulateTransactions(...): HttpRequest<List<SimulatedTransaction>>
->simulateTransactions(...): HttpRequest<SimulatedTransactionList>
Full Changelog: 0.11.1...0.12.0