@favid-inc/api
Advanced tools
Comparing version 3.5.0 to 3.5.2
@@ -5,4 +5,6 @@ export interface Action { | ||
method: "POST" | "GET"; | ||
query?: any; | ||
data?: any; | ||
}; | ||
Response?: any; | ||
} |
@@ -0,1 +1,2 @@ | ||
import { AxiosRequestConfig, AxiosResponse } from "axios"; | ||
export interface DirectCharge { | ||
@@ -5,3 +6,3 @@ Request: Request; | ||
} | ||
interface Request { | ||
interface Request extends AxiosRequestConfig { | ||
url: "charge"; | ||
@@ -51,3 +52,3 @@ method: "POST"; | ||
} | ||
declare type Response = { | ||
declare type Response = AxiosResponse & ({ | ||
status: 200; | ||
@@ -96,3 +97,3 @@ data: { | ||
}; | ||
}; | ||
}); | ||
export {}; |
{ | ||
"name": "@favid-inc/api", | ||
"version": "3.5.0", | ||
"version": "3.5.2", | ||
"description": "API for Favid Project", | ||
@@ -28,3 +28,5 @@ "homepage": "https://github.com/favid-inc/api#readme", | ||
}, | ||
"dependencies": {}, | ||
"dependencies": { | ||
"@types/axios": "^0.14.0" | ||
}, | ||
"devDependencies": { | ||
@@ -31,0 +33,0 @@ "tslint": "^5.18.0", |
13481
477
1
+ Added@types/axios@^0.14.0
+ Added@types/axios@0.14.4(transitive)
+ Addedasynckit@0.4.0(transitive)
+ Addedaxios@1.7.9(transitive)
+ Addedcombined-stream@1.0.8(transitive)
+ Addeddelayed-stream@1.0.0(transitive)
+ Addedfollow-redirects@1.15.9(transitive)
+ Addedform-data@4.0.1(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
+ Addedproxy-from-env@1.1.0(transitive)