Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ae_sdk

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ae_sdk - npm Package Compare versions

Comparing version 0.4.8 to 0.4.9

6

CHANGELOG.md
# ae_sdk
## 0.4.9
### Patch Changes
- Ensure API returns predefined types #4
## 0.4.8

@@ -4,0 +10,0 @@

17

dist/index.d.ts

@@ -102,3 +102,3 @@ type AE_API_NAMES = DS_API_NAMES | AFFILIATE_API_NAMES | SYSTEM_API_NAMES;

params: Affiliate_Categories_Params;
result: Affiliate_Categories_Result;
result: DS_Categories_Result;
} : T extends "aliexpress.ds.commissionorder.listbyindex" ? {

@@ -1203,2 +1203,15 @@ method: T;

}
/**
* DROPSHIPPER API
* CATEGORIES
*/
interface DS_Categories_Result {
aliexpress_ds_category_get_response: {
resp_result: {
resp_code: number;
resp_msg: string;
result: Affiliate_Categories;
};
};
}

@@ -1585,3 +1598,3 @@ interface AES_Base_Access_Token_Result {

ok: true;
data: Affiliate_Categories_Result;
data: DS_Categories_Result;
}>;

@@ -1588,0 +1601,0 @@ /**

10

dist/index.js

@@ -378,3 +378,2 @@ "use strict";

data.result.aeop_freight_calculate_result_for_buyer_d_t_o_list = data.result.aeop_freight_calculate_result_for_buyer_d_t_o_list.aeop_freight_calculate_result_for_buyer_dto;
delete data.result.aeop_freight_calculate_result_for_buyer_d_t_o_list.aeop_freight_calculate_result_for_buyer_dto;
}

@@ -458,6 +457,6 @@ }

let data = response.data.aliexpress_trade_ds_order_get_response.result;
if (data.child_order_list.ae_child_order_info) {
if (data.child_order_list && data.child_order_list.ae_child_order_info) {
data.child_order_list = data.child_order_list.ae_child_order_info;
}
if (data.logistics_info_list.ae_order_logistics_info) {
if (data.logistics_info_list && data.logistics_info_list.ae_order_logistics_info) {
data.logistics_info_list = data.logistics_info_list.ae_order_logistics_info;

@@ -482,3 +481,6 @@ }

return __async(this, null, function* () {
return yield this.execute("aliexpress.ds.category.get", args);
let response = yield this.execute("aliexpress.ds.category.get", args);
if (response.ok && response.data.aliexpress_ds_category_get_response.resp_result.result.categories.category)
response.data.aliexpress_ds_category_get_response.resp_result.result.categories = response.data.aliexpress_ds_category_get_response.resp_result.result.categories.category;
return response;
});

@@ -485,0 +487,0 @@ }

{
"name": "ae_sdk",
"version": "0.4.8",
"version": "0.4.9",
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc