Skip to content

Commit

Permalink
fix: requestGotOptions are used #57
Browse files Browse the repository at this point in the history
  • Loading branch information
AnWeber committed Jul 28, 2021
1 parent e1aca04 commit 5af460a
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 13 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 2.21.1 (2021-07-28)

#### Fix
* log trace can be selected (#57)
* requestGotOptions are used (#57)

## 2.21.0 (2021-07-22)

#### Features
Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"license": "MIT",
"publisher": "anweber",
"description": "Quickly and easily send REST, SOAP, and GraphQL requests directly within Visual Studio Code",
"version": "2.21.0",
"version": "2.21.1",
"homepage": "https://github.com/AnWeber/vscode-httpyac",
"repository": {
"type": "git",
Expand Down Expand Up @@ -972,7 +972,7 @@
},
"dependencies": {
"httpsnippet": "^1.25.0",
"httpyac": "^2.21.0",
"httpyac": "^2.21.1",
"lodash": "^4.17.21",
"mime-types": "^2.1.31",
"tmp-promise": "^3.0.2"
Expand Down
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export type ResponseViewContent = 'body' | 'headers' | 'full' | 'exchange';
export interface AppConfig {
requestBodyInjectVariablesExtensions?: string[];
requestDefaultHeaders?: Record<string, string>
requestOptions?: HttpRequest,
requestGotOptions?: HttpRequest,
cookieJarEnabled?: boolean,
clientCertficates?: Record<string, ClientCertificateOptions>
environmentSelectedOnStart?: Array<string>,
Expand Down
2 changes: 1 addition & 1 deletion src/provider/environmentController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class EnvironmentController implements vscode.CodeLensProvider {
},
cookieJarEnabled: appConfig.cookieJarEnabled,
clientCertificates: appConfig.clientCertficates,
request: appConfig.requestOptions,
request: appConfig.requestGotOptions,
requestBodyInjectVariablesExtensions: appConfig.requestBodyInjectVariablesExtensions,
proxy: utils.isString(httpOptions.proxy) ? httpOptions.proxy : undefined,
defaultHeaders: appConfig.requestDefaultHeaders,
Expand Down

0 comments on commit 5af460a

Please sign in to comment.