Skip to content

Commit

Permalink
Fix exporting type
Browse files Browse the repository at this point in the history
  • Loading branch information
moh3a committed Sep 15, 2023
1 parent 304ccd2 commit 6690179
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 11 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# ae_sdk

## 0.4.2

### Patch Changes

- Export some relevant types #2

## 0.4.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ae_sdk",
"version": "0.4.1",
"version": "0.4.2",
"description": "A simple SDK for Aliexpress (dropshipping and affiliate) APIs.",
"private": false,
"main": "./dist/index.js",
Expand Down
11 changes: 10 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
export * from "./utils/affiliate_client";
export * from "./utils/ds_client";
export * from "./types";
export {
Result,
AE_Currency,
AE_Language,
AE_Logistics_Status,
AE_Order_Status,
AE_Platform_Type,
AE_Sort_Filter,
AE_Sort_Promo_Filter,
} from "./types";
13 changes: 4 additions & 9 deletions src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,7 @@ export type Result<K> = Promise<
| { ok: false; message: string; request_id?: string }
>;

export {
AE_Currency,
AE_Language,
AE_Logistics_Status,
AE_Order_Status,
AE_Platform_Type,
AE_Sort_Filter,
AE_Sort_Promo_Filter,
} from "./ae";
export * from "./ae";
export * from "./affiliate";
export * from "./ds";
export * from "./system";

0 comments on commit 6690179

Please sign in to comment.