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

capsolver-npm

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

capsolver-npm - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

2

package.json
{
"name": "capsolver-npm",
"version": "1.0.6",
"version": "1.0.7",
"description": "",

@@ -5,0 +5,0 @@ "main": "src/CapSolver.js",

@@ -10,3 +10,3 @@ # capsolver.com api wrapper🧠

[![](https://img.shields.io/badge/1.0.6-capsolver--npm-darkgreen?logo=npm&logoColor=white)](https://www.npmjs.com/package/capsolver-npm)
[![](https://img.shields.io/badge/1.0.7-capsolver--npm-darkgreen?logo=npm&logoColor=white)](https://www.npmjs.com/package/capsolver-npm)
[![](https://img.shields.io/badge/documentation-docs.capsolver.com-darkgreen)](https://docs.capsolver.com/guide/getting-started.html)

@@ -13,0 +13,0 @@

@@ -11,3 +11,3 @@ const Tasker = require('./Tasker')

/** * Set-up handler **/
init(){ if(this.verbose === 2){ console.log(`[${this.constructor.name}][Verbose level ${this.verbose} running at: ${this.apikey}]`) } }
init(){ if(this.verbose === 2){ console.log(`capsolve-npm: Verbose level ${this.verbose} running at: ${this.apikey}`) } }

@@ -33,3 +33,3 @@ /** * Return USD balance as float number **/

})
if(this.verbose !== 0) { console.log(`[${this.constructor.name}][getBalance][${handled['statusText']}][${parseFloat(handled['apiResponse']['balance'])} USD]`) }
if(this.verbose !== 0) { console.log(`capsolver-npm: Balance ${parseFloat(handled['apiResponse']['balance'])} USD]`) }
return handled

@@ -36,0 +36,0 @@ }

@@ -46,3 +46,3 @@ const Validation = require('./Validation')

})
if(this.verbose === 1){ if(handled.error === 0){ console.log(`[${this.taskData.type}][created task][${handled['apiResponse']['taskId']}]`) } else { console.log(`[${this.taskData.type}][failed][${handled['apiResponse']}]`) } }
if(this.verbose === 1){ if(handled.error === 0){ console.log(`capsolver-npm: ${this.taskData.type}: [created task][${handled['apiResponse']['taskId']}]`) } else { console.log(`capsolver-npm: ${this.taskData.type}: [failed][${handled['apiResponse']}]`) } }
if(this.verbose === 2){ console.log(handled['apiResponse']) }

@@ -79,3 +79,3 @@ return handled

})
if(this.verbose === 1){ console.log(`[${taskId}][status: ${status}]`) }
if(this.verbose === 1){ console.log(`capsolver-npm: [${taskId}][status: ${status}]`) }
if(this.verbose === 2){ console.log(handled['apiResponse']) }

@@ -82,0 +82,0 @@ if(handled.error !== 0) break

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