cannot create new CoinHive.User
```
node:40465) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: _coinHive2.default.User is not aconstructor
```

I tried to generate a new CoinHive user, but cannot. What am I doint wrong?

```
const miner = new CoinHive.User(key, hash)
```