2.0.0
Added support for deserializing raw attachment contents. In order to achieve this an optional $attachments
argument has been added to the deserializeStatement()
and deserializeStatements()
methods of the StatementSerializer
class.
When being passed, this argument must be an array mapping SHA-2 hashes to an array which in turn maps the type
and content
keys to the attachment's content type and raw content data respectively.