Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tinsoftproxy

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tinsoftproxy - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

16

index.js

@@ -149,7 +149,8 @@ const axios = require('axios');

async getCurrentIP() {
var result = {}
try {
var result = await this.ipconfig();;
return result;
result = await this.ipconfig();;
} catch (e) {
var result = await this.amazonIP();;
result = await this.amazonIP();;
} finally {
return result;

@@ -230,2 +231,6 @@ }

});
const proxy = get(rps, 'proxy', '');
this.Stream.emit('log', `Got proxy: ${proxy}, api_key: ${key}`);
return { ...rps, api_key: key };

@@ -246,2 +251,6 @@ }

});
const proxy = get(rps, 'proxy', '');
this.Stream.emit('log', `Changed proxy: ${proxy}, api_key: ${key}`);
return { ...rps, api_key: key };

@@ -265,2 +274,3 @@ // {

if (passTime >= this.waitProxyLiveTimeout) throw e;
this.Stream.emit('log', `Waited ${passTime}ms until proxy ready`);
return this.waitUntilProxyOK(startTime);

@@ -267,0 +277,0 @@ }

2

package.json
{
"name": "tinsoftproxy",
"version": "1.0.1",
"version": "1.0.2",
"description": "tinsoftproxy",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc