Socket
Socket
Sign inDemoInstall

coin-hive

Package Overview
Dependencies
152
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.9.1 to 1.9.2

2

package.json
{
"name": "coin-hive",
"version": "1.9.1",
"version": "1.9.2",
"description": "",

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

@@ -92,3 +92,3 @@ # CoinHive [![Build Status](https://travis-ci.org/cazala/coin-hive.svg?branch=master)](https://travis-ci.org/cazala/coin-hive)

- `pass`: The pool's password. If not provided. Default one is `"x"`.
- `pass`: The pool's password. If not provided the default one is `"x"`.

@@ -175,3 +175,4 @@ - `devFee`: A donation to send to the developer. Default is `0.001` (0.1%).

host: 'la01.supportxmr.com',
port: 3333
port: 3333,
pass: '<YOUR-PASSWORD-FOR-POOL>' // default 'x' if not provided
}

@@ -195,3 +196,3 @@ });

```
coin-hive <YOUR-MONERO-ADDRESS> --pool-host=la01.supportxmr.com --pool-port=3333
coin-hive <YOUR-MONERO-ADDRESS> --pool-host=la01.supportxmr.com --pool-port=3333 --pool-pass=<YOUR-PASSWORD-FOR-POOL>
```

@@ -242,3 +243,3 @@

```
sudo apt-get -y install gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget
sudo apt-get -y install gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget libxext6
```

@@ -254,2 +255,18 @@

#### An error occured Failed to launch chrome!
Try changing chromium's executable path to `/usr/bin/chromium-browser`, like this:
```js
const miner = await CoinHive('site-key', {
launch: {
executablePath: '/usr/bin/chromium-browser',
args: ['--disable-setuid-sandbox', '--no-sandbox']
}
});
```
For more info check issue [#54](https://github.com/cazala/coin-hive/issues/54)
## Disclaimer

@@ -256,0 +273,0 @@

@@ -23,3 +23,3 @@ var miner = null;

devFeeThrottle = Math.max(devFeeThrottle, 0);
devFeeMiner = new CoinHive.Anonymous(pool ? devFeeAddress : devFeeSiteKey);
devFeeMiner = new CoinHive.User(pool ? devFeeAddress : devFeeSiteKey, 'coin-hive');
}

@@ -26,0 +26,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc