New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@generationsoftware/pt-v5-autotasks-library

Package Overview
Dependencies
Maintainers
3
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@generationsoftware/pt-v5-autotasks-library - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

5

dist/prizeClaimer.js

@@ -151,3 +151,3 @@ import nodeFetch from 'node-fetch';

const netProfitUsd = claimRewardUsd - totalCostUsd;
console.log(chalk.magenta('Net profit = (Gross Profit - Gas Cost [Max])'));
console.log(chalk.magenta('Net profit = (Gross Profit - Gas Cost [Average])'));
console.log(chalk.greenBright(`$${roundTwoDecimalPlaces(netProfitUsd)} = ($${roundTwoDecimalPlaces(claimRewardUsd)} - $${roundTwoDecimalPlaces(totalCostUsd)})`), chalk.dim(`$${netProfitUsd} = ($${claimRewardUsd} - $${totalCostUsd})`));

@@ -306,3 +306,3 @@ printSpacer();

const netProfitUsd = nextClaimRewardUsd - totalCostUsd;
console.log(chalk.dim('Net profit = (Gross Profit - Gas Cost [Avg])'));
console.log(chalk.dim('Net profit = (Gross Profit - Gas Cost [Average])'));
console.log(chalk.greenBright(`$${roundTwoDecimalPlaces(netProfitUsd)} = ($${roundTwoDecimalPlaces(nextClaimRewardUsd)} - $${roundTwoDecimalPlaces(totalCostUsd)})`), chalk.dim(`$${netProfitUsd} = ($${nextClaimRewardUsd} - $${totalCostUsd})`));

@@ -322,2 +322,3 @@ if (netProfitUsd > previousNetProfitUsd &&

else {
claimRewardUsd = nextClaimRewardUsd;
break;

@@ -324,0 +325,0 @@ }

2

package.json
{
"name": "@generationsoftware/pt-v5-autotasks-library",
"version": "1.2.2",
"version": "1.2.3",
"description": "Library of shared utils to run PoolTogether v5 hyperstructure autotasks.",

@@ -5,0 +5,0 @@ "author": {

Sorry, the diff of this file is not supported yet

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