ebay-api 9.4.4 → 9.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -2
- package/dist/api/traditional/XMLRequest.d.ts +7 -1
- package/dist/api/traditional/XMLRequest.js +9 -9
- package/dist/api/traditional/index.js +14 -1
- package/dist/ebay-api.min.mjs +1 -1
- package/dist/types/apiTypes.d.ts +2 -0
- package/lib/api/traditional/XMLRequest.d.ts +7 -1
- package/lib/api/traditional/XMLRequest.js +9 -9
- package/lib/api/traditional/index.js +14 -1
- package/lib/ebay-api.min.js +1 -1
- package/lib/types/apiTypes.d.ts +2 -0
- package/package.json +1 -1
package/lib/types/apiTypes.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { X2jOptions } from 'fast-xml-parser';
|
|
2
3
|
import { Locale, MarketplaceId, SiteId } from '../enums/index.js';
|
|
3
4
|
export type Scope = string[];
|
|
4
5
|
export type Keyset = {
|
|
@@ -31,6 +32,7 @@ export type eBayConfig = Keyset & {
|
|
|
31
32
|
export type ApiConfig = {
|
|
32
33
|
autoRefreshToken?: boolean;
|
|
33
34
|
axiosConfig?: AxiosRequestConfig;
|
|
35
|
+
parseOptions?: X2jOptions;
|
|
34
36
|
};
|
|
35
37
|
export type Headers = Record<string, string | number | undefined>;
|
|
36
38
|
export type ApiRequestConfig = {
|