Comparing version 0.4.14 to 0.4.15
# ae_sdk | ||
## 0.4.15 | ||
### Patch Changes | ||
- Fix affiliate API endpoint (get feature promo) error | ||
## 0.4.14 | ||
@@ -4,0 +10,0 @@ |
@@ -434,3 +434,3 @@ type AE_API_NAMES = DS_API_NAMES | AFFILIATE_API_NAMES | SYSTEM_API_NAMES; | ||
current_record_count: number; | ||
promos: Affiliate_Featuredpromo_Details; | ||
promos: Affiliate_Featuredpromo_Details[]; | ||
} | ||
@@ -443,3 +443,5 @@ interface Affiliate_Featuredpromo_Info_Response { | ||
interface Affiliate_Featuredpromo_Info_Result { | ||
aliexpress_affiliate_featuredpromo_get_response: Affiliate_Featuredpromo_Info_Response; | ||
aliexpress_affiliate_featuredpromo_get_response: { | ||
resp_result: Affiliate_Featuredpromo_Info_Response; | ||
}; | ||
} | ||
@@ -446,0 +448,0 @@ /** |
@@ -285,5 +285,5 @@ "use strict"; | ||
if (response.ok) { | ||
let data = response.data.aliexpress_affiliate_featuredpromo_get_response.result.promos; | ||
if (data.promo) { | ||
data = data.promo; | ||
let data = response.data.aliexpress_affiliate_featuredpromo_get_response.resp_result.result; | ||
if (data.promos.promo) { | ||
data.promos = data.promos.promo; | ||
} | ||
@@ -290,0 +290,0 @@ } |
{ | ||
"name": "ae_sdk", | ||
"version": "0.4.14", | ||
"version": "0.4.15", | ||
"description": "A simple SDK for Aliexpress (dropshipping and affiliate) APIs.", | ||
@@ -5,0 +5,0 @@ "private": false, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
151624
2727