diff --git a/CHANGELOG.md b/CHANGELOG.md index 9eaec3c..b1e4bfd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [3.1.2] - 2024-06-11 +- Removed local rate limit. + ## [3.1.1] - 2024-05-31 - Added `proof_of_delivery` field to Tracking Model. diff --git a/request.go b/request.go index 7c9010b..4587e98 100644 --- a/request.go +++ b/request.go @@ -20,14 +20,6 @@ import ( func (client *Client) makeRequest(ctx context.Context, method string, path string, queryParams interface{}, inputData interface{}, resultData interface{}) error { - // Check if rate limit is exceeded - if client.rateLimit != nil && client.rateLimit.isExceeded() { - return &APIError{ - Code: codeRateLimiting, - Message: errExceedRateLimit, - } - } - // Read input data var body io.Reader var bodyStr string diff --git a/version.go b/version.go index 3acf17c..af03cae 100644 --- a/version.go +++ b/version.go @@ -1,4 +1,4 @@ package aftership // VERSION is the version number of this package -const VERSION string = "3.1.1" +const VERSION string = "3.1.2"