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.0.0 to 1.2.0

0

.eslintrc.js

@@ -0,0 +0,0 @@ module.exports = {

2

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

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

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

- `hq.connectToGame()` - Connect to game
- `hq.getUpcomingSchedule()` - Get upcoming games schedule

@@ -45,3 +46,3 @@ ## Trivia Game Methods

```js
const HQTrvia = require('hqtrivia-api')
const HQTrivia = require('hqtrivia-api')
const hq = new HQTrivia('[token]')

@@ -70,3 +71,3 @@

```js
const HQTrvia = require('hqtrivia-api')
const HQTrivia = require('hqtrivia-api')
const hq = new HQTrivia('[token]')

@@ -100,2 +101,2 @@

})
```
```

@@ -69,2 +69,7 @@ const axios = require('axios')

async getUpcomingSchedule() {
const leaderboard = await this.axios.get('/shows/schedule')
return leaderboard.data.shows
}
async addFriend (userId) {

@@ -71,0 +76,0 @@ const addFriendRes = await this.axios.post(`/friends/${userId}/requests`)

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