Compare commits
No commits in common. "5b1a7a68c5254ffc3495ce01787147ccbe83dab7" and "65e3cb979799349c8c02604d373a14e3b91e0a99" have entirely different histories.
5b1a7a68c5
...
65e3cb9797
@ -1,8 +1,3 @@
|
||||
### 30/11/2022
|
||||
|
||||
- Fixed response data in axios request with accept-encoding to identity
|
||||
- Allow to force change server url for init
|
||||
|
||||
### 11/11/2022
|
||||
|
||||
- Fixed axios is not a function
|
||||
|
6
package-lock.json
generated
6
package-lock.json
generated
@ -1,15 +1,15 @@
|
||||
{
|
||||
"name": "@cubetiq/hlt",
|
||||
"version": "0.1.5",
|
||||
"version": "0.1.2",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@cubetiq/hlt",
|
||||
"version": "0.1.5",
|
||||
"version": "0.1.2",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"axios": "^1.2.0",
|
||||
"axios": "^1.0.0",
|
||||
"commander": "^9.3.0",
|
||||
"https-proxy-agent": "^5.0.1",
|
||||
"socket.io-client": "^4.5.1"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@cubetiq/hlt",
|
||||
"version": "0.1.5",
|
||||
"version": "0.1.4",
|
||||
"description": "A lightweight http tunnel client using nodejs and socket.io client",
|
||||
"main": "dist/client.js",
|
||||
"bin": {
|
||||
@ -22,7 +22,7 @@
|
||||
"author": "Sambo Chea <sombochea@cubetiqs.com>",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"axios": "^1.2.0",
|
||||
"axios": "^1.0.0",
|
||||
"commander": "^9.3.0",
|
||||
"https-proxy-agent": "^5.0.1",
|
||||
"socket.io-client": "^4.5.1"
|
||||
|
@ -247,7 +247,7 @@ program
|
||||
|
||||
// Force reset config server from client init
|
||||
if (!config.server || options.force) {
|
||||
config.server = options.server || SERVER_DEFAULT_URL;
|
||||
config.server = options.server || config.server || SERVER_DEFAULT_URL;
|
||||
}
|
||||
|
||||
if (!config.token && options.token) {
|
||||
|
@ -10,7 +10,6 @@ const getTokenFree = async (baseUrl: string, data: any = {}) => {
|
||||
},
|
||||
headers: {
|
||||
"x-access-type": "FREE",
|
||||
"Accept-Encoding": "identity",
|
||||
},
|
||||
});
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user