Skip to content

Commit

Permalink
Merge pull request #18 from Shivanshu-lambdatest/leagcy_removed
Browse files Browse the repository at this point in the history
removed legacy options
  • Loading branch information
ssrahman authored May 13, 2022
2 parents b72f5d7 + e17f2ca commit 2b0e3ad
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 53 deletions.
48 changes: 0 additions & 48 deletions lib/cfg/node-tunnel-config-v3-latest.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@
{
"binaryLinks": {
"mac": {
"v2": {
"32bit": {
"httpPath": "https://downloads.lambdatest.com/tunnel/mac/32bit/ltcomponent.zip",
"binaryName": "ltcomponent.zip",
"hash": "f802ce3166bb25c1a7508d530d514b19"
},
"64bit": {
"httpPath": "https://downloads.lambdatest.com/tunnel/mac/64bit/ltcomponent.zip",
"binaryName": "ltcomponent.zip",
"hash": "50508831995353deb4983d11ff4b0861"
}
},
"v3": {
"32bit": {
"httpPath": "https://downloads.lambdatest.com/tunnel/v3/mac/32bit/LT_Mac.zip",
Expand All @@ -27,18 +15,6 @@
}
},
"win": {
"v2": {
"32bit": {
"httpPath": "https://downloads.lambdatest.com/tunnel/windows/32bit/ltcomponent.zip",
"binaryName": "ltcomponent.zip",
"hash": "a8eb108eb6fc60178ae28196242a17ff"
},
"64bit": {
"httpPath": "https://downloads.lambdatest.com/tunnel/windows/64bit/ltcomponent.zip",
"binaryName": "ltcomponent.zip",
"hash": "69f59ccd89aae6adeccf69a8a829bdea"
}
},
"v3": {
"32bit": {
"httpPath": "https://downloads.lambdatest.com/tunnel/v3/windows/32bit/LT_Windows.zip",
Expand All @@ -53,18 +29,6 @@
}
},
"linux": {
"v2": {
"32bit": {
"httpPath": "https://downloads.lambdatest.com/tunnel/linux/32bit/ltcomponent.zip",
"binaryName": "ltcomponent.zip",
"hash": "f3eae3b5b32918e6ab53b694965fbdd2"
},
"64bit": {
"httpPath": "https://downloads.lambdatest.com/tunnel/linux/64bit/ltcomponent.zip",
"binaryName": "ltcomponent.zip",
"hash": "107d7d5020d181923fe2f207c2ec76cb"
}
},
"v3": {
"32bit": {
"httpPath": "https://downloads.lambdatest.com/tunnel/v3/linux/32bit/LT_Linux.zip",
Expand All @@ -79,18 +43,6 @@
}
},
"freebsd": {
"v2": {
"32bit": {
"httpPath": "https://downloads.lambdatest.com/tunnel/freebsd/32bit/ltcomponent.zip",
"binaryName": "ltcomponent.zip",
"hash": "874da2557a6e7d4ee047830092b36f10"
},
"64bit": {
"httpPath": "https://downloads.lambdatest.com/tunnel/freebsd/64bit/ltcomponent.zip",
"binaryName": "ltcomponent.zip",
"hash": "cd6d2cdca428fa38c94922b9853afe06"
}
},
"v3": {
"32bit": {
"httpPath": "https://downloads.lambdatest.com/tunnel/v3/freebsd/32bit/LT_Freebsd.zip",
Expand Down
8 changes: 4 additions & 4 deletions lib/tunnel_binary.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ function TunnelBinary(httpTunnelConfig, options) {
* Try to find out binary based on platform arch.
*/
this.binaryVersion = 'v3';
if (options['legacy']) {
this.binaryVersion = 'v2';
executableName = 'ltcomponent';
}
// if (options['legacy']) {
// this.binaryVersion = 'v2';
// executableName = 'ltcomponent';
// }
this.httpTunnelConfig = httpTunnelConfig;
this.hostOS = process.platform;
this.bits = process.arch === 'x64' || process.arch === 'arm64' ? '64bit' : '32bit';
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lambdatest/node-tunnel",
"version": "3.0.6",
"version": "3.0.7",
"description": "Nodejs bindings for LambdaTest Tunnel",
"main": "index.js",
"repository": {
Expand Down

0 comments on commit 2b0e3ad

Please sign in to comment.