Skip to content

v0.4.1

Compare
Choose a tag to compare
@c12i c12i released this 13 Jun 13:56
· 229 commits to master since this release

Fixes

  • Fix c2b_register and c2b_simulateapis - they had been returning empty string responses for theircommand_idfield. The field is now anOptionand serde will conditionally serialize it if the value is aSome` variant.
  • Fix MpesaSecurity trait implementation in mpesa_derive

Improvements

  • Move MpesaSecurity trait implementation to mpesa_derive derive macro crate

Breaking changes

  • The constants module now private, therefore types such as CommandId, IdentifierTypes, MpesaResponseCode and ResponseType are now private.
  • All services module response type fields now public and snake cased, hence the equivalent getter methods are now depreciated