Skip to content

Commit 34750ab

Browse files
authored
Merge pull request #278 from nodevault/copilot/upgrade-postman-request-package
Replace postman-request with axios
2 parents 8adc128 + c741c04 commit 34750ab

File tree

4 files changed

+100
-556
lines changed

4 files changed

+100
-556
lines changed

index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
55
// TypeScript Version: 2.3
66

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

99
declare namespace NodeVault {
1010
interface Option {
@@ -141,7 +141,7 @@ declare namespace NodeVault {
141141
noCustomHTTPVerbs?: boolean;
142142
pathPrefix?: string;
143143
token?: string;
144-
requestOptions?: request.CoreOptions;
144+
requestOptions?: AxiosRequestConfig;
145145
}
146146
}
147147

0 commit comments

Comments
 (0)