Skip to content

0.12.0

Compare
Choose a tag to compare
@github-actions github-actions released this 23 May 13:12
· 30 commits to main since this release
e6d16ac

What's Changed

Breaking changes

  • v1 DECLARE is no longer supported
  • FeltArray: toCalldata() method now returns list with prepended array length instead of just list
  • TypedData.Domain.Revision is now of type JsonPrimitive? instead of TypedData.Revision?
  • Use TypedData.Domain.resolvedRevision to access revision as TypedData.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