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

qqqqqqqqqqqqqqqqqqqqqqqqqqqqqq

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qqqqqqqqqqqqqqqqqqqqqqqqqqqqqq - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

2

package.json
{
"name": "qqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",
"version": "1.0.5",
"version": "1.0.6",
"description": "Image manipulation for discord bot or other app",

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

@@ -33,3 +33,3 @@ const Canvas = require('canvas')

fake: {
value: 1,
value: 0,
text_color: '#ACAEB2',

@@ -139,3 +139,3 @@ value_color: '#FFFFFF'

*
* @param {Number} value User's Regular balance
* @param {Number} value User's wallet balance
* @param {String} textColor Text Color

@@ -145,5 +145,5 @@ * @param {String} valueColor Value Color

setRegular(value = 0, textColor = '#ACAEB2', valueColor = '#FFFFFF') {
if (typeof value !== 'number') throw new TypeError('Regular value needs to be number!')
if (typeof textColor !== 'string') throw new TypeError('Regular text color needs to be string!')
if (typeof valueColor !== 'string') throw new TypeError('Regular value color needs to be string!')
if (typeof value !== 'number') throw new TypeError('regular value needs to be number!')
if (typeof textColor !== 'string') throw new TypeError('regular text color needs to be string!')
if (typeof valueColor !== 'string') throw new TypeError('regular value color needs to be string!')

@@ -245,3 +245,3 @@ this.data.regular.value = value;

ctx.fillText('Regular', 153, 717)
ctx.fillStyle = this.data.top.text_color
ctx.fillStyle = this.data.fake.text_color
ctx.fillText('Fake', 375, 717)

@@ -254,7 +254,7 @@ ctx.fillStyle = this.data.leave.text_color

ctx.fillStyle = this.data.regular.value_color
ctx.fillText(this.data.currency + CurrencyFormat(this.data.regular.value), 153, 782)
ctx.fillText(this.data.currency + CurrencyFormat(this.data.wallet.value), 153, 782)
ctx.fillStyle = this.data.fake.value_color
ctx.fillText(CurrencyFormat(this.data.fake.value), 375, 782)
ctx.fillText(CurrencyFormat(this.data.rank.value), 375, 782)
ctx.fillStyle = this.data.leave.value_color
ctx.fillText(this.data.currency + CurrencyFormat(this.data.leave.value), 599, 782)
ctx.fillText(this.data.currency + CurrencyFormat(this.data.bank.value), 599, 782)

@@ -261,0 +261,0 @@ ctx.fillStyle= this.data.seperator.color

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