@apigames/rest-client
Advanced tools
Comparing version 1.0.30 to 21.1.0
@@ -8,9 +8,9 @@ import { IMockRestClient, RestClientBaseException, RestClientOptions, RestClientResponse } from '..'; | ||
isRestClientResponse(value: any): value is RestClientResponse; | ||
Delete(uri: string, headers?: object, options?: RestClientOptions): Promise<RestClientResponse>; | ||
Get(uri: string, headers?: object, options?: RestClientOptions): Promise<RestClientResponse>; | ||
Head(uri: string, headers?: object, options?: RestClientOptions): Promise<RestClientResponse>; | ||
Patch(uri: string, payload: any, headers?: object, options?: RestClientOptions): Promise<RestClientResponse>; | ||
Post(uri: string, payload: any, headers?: object, options?: RestClientOptions): Promise<RestClientResponse>; | ||
Put(uri: string, payload: any, headers?: object, options?: RestClientOptions): Promise<RestClientResponse>; | ||
Delete(uri: string, headers?: Record<string, string>, options?: RestClientOptions): Promise<RestClientResponse>; | ||
Get(uri: string, headers?: Record<string, string>, options?: RestClientOptions): Promise<RestClientResponse>; | ||
Head(uri: string, headers?: Record<string, string>, options?: RestClientOptions): Promise<RestClientResponse>; | ||
Patch(uri: string, payload: any, headers?: Record<string, string>, options?: RestClientOptions): Promise<RestClientResponse>; | ||
Post(uri: string, payload: any, headers?: Record<string, string>, options?: RestClientOptions): Promise<RestClientResponse>; | ||
Put(uri: string, payload: any, headers?: Record<string, string>, options?: RestClientOptions): Promise<RestClientResponse>; | ||
reset(): void; | ||
} |
@@ -5,8 +5,8 @@ import { IRestClient, RestClientOptions, RestClientResponse } from '..'; | ||
private IsAxiosError; | ||
Delete(uri: string, headers?: object, options?: RestClientOptions): Promise<RestClientResponse>; | ||
Get(uri: string, headers?: object, options?: RestClientOptions): Promise<RestClientResponse>; | ||
Head(uri: string, headers?: object, options?: RestClientOptions): Promise<RestClientResponse>; | ||
Patch(uri: string, payload: any, headers?: object, options?: RestClientOptions): Promise<RestClientResponse>; | ||
Post(uri: string, payload: any, headers?: object, options?: RestClientOptions): Promise<RestClientResponse>; | ||
Put(uri: string, payload: any, headers?: object, options?: RestClientOptions): Promise<RestClientResponse>; | ||
Delete(uri: string, headers?: Record<string, string>, options?: RestClientOptions): Promise<RestClientResponse>; | ||
Get(uri: string, headers?: Record<string, string>, options?: RestClientOptions): Promise<RestClientResponse>; | ||
Head(uri: string, headers?: Record<string, string>, options?: RestClientOptions): Promise<RestClientResponse>; | ||
Patch(uri: string, payload: any, headers?: Record<string, string>, options?: RestClientOptions): Promise<RestClientResponse>; | ||
Post(uri: string, payload: any, headers?: Record<string, string>, options?: RestClientOptions): Promise<RestClientResponse>; | ||
Put(uri: string, payload: any, headers?: Record<string, string>, options?: RestClientOptions): Promise<RestClientResponse>; | ||
} |
@@ -6,3 +6,3 @@ { | ||
"license": "MIT", | ||
"version": "1.0.30", | ||
"version": "21.1.0", | ||
"main": "lib/index.js", | ||
@@ -23,10 +23,10 @@ "types": "lib/index.d.ts", | ||
"dependencies": { | ||
"@apigames/json": "1.0.57", | ||
"axios": "0.21.4" | ||
"@apigames/json": "21.1.0", | ||
"axios": "0.22.0" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "26.0.24", | ||
"@types/node": "14.17.15", | ||
"@typescript-eslint/eslint-plugin": "4.31.0", | ||
"@typescript-eslint/parser": "4.31.0", | ||
"@types/node": "14.17.21", | ||
"@typescript-eslint/eslint-plugin": "4.33.0", | ||
"@typescript-eslint/parser": "4.33.0", | ||
"eslint": "7.32.0", | ||
@@ -36,7 +36,7 @@ "eslint-config-airbnb": "18.2.1", | ||
"eslint-plugin-jsx-a11y": "6.4.1", | ||
"eslint-plugin-react": "7.25.1", | ||
"eslint-plugin-react": "7.26.1", | ||
"eslint-plugin-react-hooks": "4.2.0", | ||
"jest": "27.0.6", | ||
"ts-jest": "27.0.4", | ||
"typescript": "4.4.2" | ||
"typescript": "4.4.3" | ||
}, | ||
@@ -43,0 +43,0 @@ "eslintConfig": {}, |
99184
+ Added@apigames/json@21.1.0(transitive)
+ Addedaxios@0.22.0(transitive)
- Removed@apigames/json@1.0.57(transitive)
- Removedaxios@0.21.4(transitive)
Updated@apigames/json@21.1.0
Updatedaxios@0.22.0