v2.4.2 - New some feature, new some api function, improve error handling
Feature:
- Add idempotency-key feature
- Add API registerCard, cardToken, cardPointInquiry, getStatusB2b, createSnapUrl
Improvement:
- Fix error handling
- Return exception when server-key is null, empty, contain white-space
- Refactor
ApiRequestor.php
(all API request, will process from this file) - Add extension curl, JSON PHP require on composer file
- Refactor unit test
Notable changes:
- Deprecated
SnapApiRequestor.php
(no longer use, will delete this on the next major release)