Comparing version 4.0.2 to 4.0.3
@@ -0,1 +1,8 @@ | ||
### 4.0.3 | ||
* optional path params - **[@dbushong](https://github.com/dbushong)** [#108](https://github.com/groupon/gofer/pull/108) | ||
- [`2d53eb1`](https://github.com/groupon/gofer/commit/2d53eb1acf196c7472d2d08c3f7e9225046bf767) **fix:** types: pathParams can be initially undef | ||
- [`de401c7`](https://github.com/groupon/gofer/commit/de401c7ba1791602383a96344817da52d007367e) **chore:** npm audit fix | ||
### 4.0.2 | ||
@@ -2,0 +9,0 @@ |
@@ -45,6 +45,9 @@ import { SecureContext } from 'tls'; | ||
declare namespace Gofer { | ||
export function fetch(path: string, opts?: Gofer.FetchOpts): FetchResponse; | ||
export function fetch( | ||
path: string, | ||
opts?: Gofer.FetchOpts & { pathParams?: { [param: string]: string } } | ||
): FetchResponse; | ||
export type Opts = { | ||
pathParams?: { [param: string]: string }; | ||
pathParams?: { [param: string]: string | undefined }; | ||
timeout?: number; | ||
@@ -51,0 +54,0 @@ connectTimeout?: number; |
{ | ||
"name": "gofer", | ||
"version": "4.0.2", | ||
"version": "4.0.3", | ||
"description": "A general purpose service client library", | ||
@@ -5,0 +5,0 @@ "license": "BSD-3-Clause", |
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
73847
1332