Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3

import * as request from "postman-request";
import type { AxiosRequestConfig } from "axios";

declare namespace NodeVault {
interface Option {
Expand Down Expand Up @@ -141,7 +141,7 @@ declare namespace NodeVault {
noCustomHTTPVerbs?: boolean;
pathPrefix?: string;
token?: string;
requestOptions?: request.CoreOptions;
requestOptions?: AxiosRequestConfig;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a breaking api change

// previously valid
requestOptions: {
   ca:"Custom ca cert goes here"
}

new code breaks this on a minor revision.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point!
will revert and fix

}
}

Expand Down
Loading
Loading