new lib version [CI SKIP]
This commit is contained in:
10
dist/core/request.d.ts
vendored
10
dist/core/request.d.ts
vendored
@@ -1,9 +1,9 @@
|
||||
import type { ApiRequestOptions } from './ApiRequestOptions';
|
||||
import type { ApiResult } from './ApiResult';
|
||||
/**
|
||||
* Request using node-fetch client
|
||||
* @param options The request options from the the service
|
||||
* @result ApiResult
|
||||
* @throws ApiError
|
||||
*/
|
||||
* Request using node-fetch client
|
||||
* @param options The request options from the the service
|
||||
* @returns ApiResult
|
||||
* @throws ApiError
|
||||
*/
|
||||
export declare function request(options: ApiRequestOptions): Promise<ApiResult>;
|
||||
|
||||
10
dist/core/request.js
vendored
10
dist/core/request.js
vendored
@@ -188,11 +188,11 @@ function catchErrors(options, result) {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Request using node-fetch client
|
||||
* @param options The request options from the the service
|
||||
* @result ApiResult
|
||||
* @throws ApiError
|
||||
*/
|
||||
* Request using node-fetch client
|
||||
* @param options The request options from the the service
|
||||
* @returns ApiResult
|
||||
* @throws ApiError
|
||||
*/
|
||||
async function request(options) {
|
||||
const url = getUrl(options);
|
||||
const response = await sendRequest(options, url);
|
||||
|
||||
Reference in New Issue
Block a user