@sebspark/openapi-core 1.2.0 → 1.3.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/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AxiosError } from 'axios';
|
|
2
|
+
import { OutgoingHttpHeaders } from 'http';
|
|
2
3
|
import { RetrySettings } from '@sebspark/retry';
|
|
3
4
|
import { Request, Response, NextFunction } from 'express';
|
|
4
5
|
|
|
@@ -181,7 +182,8 @@ type PayloadRequestArgs = RequestArgs & {
|
|
|
181
182
|
body?: Record<string, string>;
|
|
182
183
|
};
|
|
183
184
|
type RequestOptions = {
|
|
184
|
-
retry
|
|
185
|
+
retry?: RetrySettings;
|
|
186
|
+
headers?: OutgoingHttpHeaders & Record<string, string>;
|
|
185
187
|
};
|
|
186
188
|
type ClientOptions = RequestOptions & {};
|
|
187
189
|
type BaseClient = {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AxiosError } from 'axios';
|
|
2
|
+
import { OutgoingHttpHeaders } from 'http';
|
|
2
3
|
import { RetrySettings } from '@sebspark/retry';
|
|
3
4
|
import { Request, Response, NextFunction } from 'express';
|
|
4
5
|
|
|
@@ -181,7 +182,8 @@ type PayloadRequestArgs = RequestArgs & {
|
|
|
181
182
|
body?: Record<string, string>;
|
|
182
183
|
};
|
|
183
184
|
type RequestOptions = {
|
|
184
|
-
retry
|
|
185
|
+
retry?: RetrySettings;
|
|
186
|
+
headers?: OutgoingHttpHeaders & Record<string, string>;
|
|
185
187
|
};
|
|
186
188
|
type ClientOptions = RequestOptions & {};
|
|
187
189
|
type BaseClient = {
|