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

hqtrivia-api

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hqtrivia-api - npm Package Compare versions

Comparing version 1.8.2 to 1.9.0

2

package.json
{
"name": "hqtrivia-api",
"version": "1.8.2",
"version": "1.9.0",
"description": "HQ Trivia API wrapper for Node.js",

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

@@ -23,2 +23,3 @@ # HQ Trivia API

- `hq.checkUsername(username)` - Check username
- `hq.makePayout(email)` - Make payout

@@ -25,0 +26,0 @@ ## Registration methods

@@ -126,2 +126,10 @@ const axios = require('axios')

async makePayout (email) {
if (!this.token) throw new Error('This method cannot be used without authorization')
const makePayout = await this.axios.post('/users/me/payouts', {
email: email
})
return makePayout.data
}
async changeUsername (username) {

@@ -128,0 +136,0 @@ if (!this.token) throw new Error('This method cannot be used without authorization')

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