@azteam/http-client
Advanced tools
Comparing version 1.0.28 to 1.0.29
{ | ||
"name": "@azteam/http-client", | ||
"version": "1.0.28", | ||
"version": "1.0.29", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -1,24 +0,8 @@ | ||
import fs from 'fs'; | ||
import qs from 'querystring'; | ||
import axios from 'axios'; | ||
import {parse} from 'node-html-parser'; | ||
import FileCookieStore from './toughCookieFilestore'; | ||
import HttpClient as Axios from './axios'; | ||
import HttpClient as Request from './request'; | ||
const BODY_TYPE = { | ||
QUERY_URL: 'QUERY_URL', | ||
FORM: 'FORM', | ||
JSON: 'JSON', | ||
RAW_BODY: 'RAW_BODY', | ||
MULTIPART_RELATED: 'MULTIPART_RELATED', | ||
MULTIPART_FORM_DATA: 'MULTIPART_FORM_DATA', | ||
}; | ||
const agents = JSON.parse(fs.readFileSync(__dirname + '/agents.json', 'utf8')); | ||
class HttpClient { | ||
} | ||
export default HttpClient; | ||
export { | ||
Request as HttpClient, | ||
Axios, | ||
} |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
24556
7
527
1