Secure API Toolkit
Fixes #17 via #19 (thanks @carnage!)
This supersedes the bad release v1.1.1
which has been deleted because the syntax of cloning created misbehavior.
- $body = (string) clone $response->getBody();
+ $body = (string) (clone $response)->getBody();
totallyTyped
mode.Sapient is now stable. The only changes since v0.5.0 have been documentation related, including a specification.
Any crypto details not covered in the specification document should be deferred to "whatever libsodium does".
This may be the final pre-1.0 release. Some changes:
I'll probably do a little more documentation work then tag v1.0 shortly.
create*()
) into their own interface.RequestInterface
or ResponseInterface
to the appropriate methods; it defaults to the generic adapter.Sapient
is no longer a subclass of the Guzzle HTTP client. BC Break
AdapterInterface
passed to the constructor, which allows multiple HTTP implementations to be used.crypto_kx
This release mostly addresses some minor oversights in the API design. I also added docblocks and fleshed out the README a little more.
This exists. Hopefully it's not horrendously broken.
Documentation and usability enhancements are very welcome.