@prismatic-io/spectral
Advanced tools
Comparing version 6.6.0 to 6.6.1
@@ -16,2 +16,3 @@ import { AxiosResponse } from "axios"; | ||
headers?: AxiosRequestConfig["headers"]; | ||
params?: Record<string, any>; | ||
timeout?: number; | ||
@@ -21,3 +22,3 @@ debug?: boolean; | ||
} | ||
export declare const createClient: ({ baseUrl, responseType, headers, timeout, debug, retryConfig, }: ClientProps) => HttpClient; | ||
export declare const createClient: ({ baseUrl, responseType, headers, timeout, params, debug, retryConfig, }: ClientProps) => HttpClient; | ||
export declare const handleErrors: (error: unknown) => unknown; | ||
@@ -24,0 +25,0 @@ declare type SendRawRequestValues = ActionInputParameters<typeof inputs>; |
@@ -92,3 +92,3 @@ "use strict"; | ||
}; | ||
const createClient = ({ baseUrl, responseType, headers, timeout, debug = false, retryConfig, }) => { | ||
const createClient = ({ baseUrl, responseType, headers, timeout, params, debug = false, retryConfig, }) => { | ||
const client = axios_1.default.create({ | ||
@@ -99,2 +99,3 @@ baseURL: baseUrl, | ||
timeout, | ||
params, | ||
maxContentLength: Infinity, | ||
@@ -101,0 +102,0 @@ maxBodyLength: Infinity, |
{ | ||
"name": "@prismatic-io/spectral", | ||
"version": "6.6.0", | ||
"version": "6.6.1", | ||
"description": "Utility library for building Prismatic components", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
133458
2983