- Fixed issue with session and tx token not correctly updated after each request.
- Added detailed error handling for
hmacSha256method. - Added checks for
transactionTokenbefore callinghmacSha256. - Improved logging in
createSessionto ensuresessionTokenandtransactionTokenare correctly set.
- Refactored the
getSignaturemethod to throw an error iftransactionTokenis not set. - Updated the
requestmethod to ensure headers are correctly set.
- Added support for environment variables using
dotenv. - Implemented
createSessionmethod for logging in and setting tokens.
- Refactored constructor to initialize class variables for session management.
- Fixed issue with incorrect data encoding in
encodemethod.
- Added basic methods for GET, POST, PUT, and DELETE requests.
- Implemented HMAC SHA-256 signature generation.
- Improved error handling for HTTP requests.
- Initial release of
kyte-api-nodejs. - Basic client setup with Axios for making HTTP requests.
- Implemented authentication and session management.