@sp-api-sdk/services-api-v1 3.2.0 → 4.0.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/dist/cjs/api-model/api/{service-api.js → services-api.js} +101 -101
- package/dist/cjs/api-model/api.js +1 -1
- package/dist/cjs/client.js +1 -1
- package/dist/es/api-model/api/{service-api.js → services-api.js} +96 -96
- package/dist/es/api-model/api.js +1 -1
- package/dist/es/client.js +2 -2
- package/dist/types/api-model/api/{service-api.d.ts → services-api.d.ts} +204 -204
- package/dist/types/api-model/api.d.ts +1 -1
- package/dist/types/client.d.ts +2 -2
- package/package.json +4 -4
package/dist/es/api-model/api.js
CHANGED
package/dist/es/client.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createAxiosInstance } from '@sp-api-sdk/common';
|
|
2
|
-
import { Configuration,
|
|
2
|
+
import { Configuration, ServicesApi } from './api-model';
|
|
3
3
|
export const clientRateLimits = [
|
|
4
4
|
{
|
|
5
5
|
method: 'get',
|
|
@@ -121,7 +121,7 @@ export const clientRateLimits = [
|
|
|
121
121
|
burst: 20,
|
|
122
122
|
},
|
|
123
123
|
];
|
|
124
|
-
export class ServicesApiClient extends
|
|
124
|
+
export class ServicesApiClient extends ServicesApi {
|
|
125
125
|
constructor(configuration) {
|
|
126
126
|
const { axios, endpoint } = createAxiosInstance(configuration, clientRateLimits);
|
|
127
127
|
super(new Configuration(), endpoint, axios);
|