You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

spypoint-api-wrapper

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spypoint-api-wrapper - npm Package Compare versions

Comparing version

to
2.0.2

2

package.json
{
"name": "spypoint-api-wrapper",
"version": "2.0.1",
"version": "2.0.2",
"description": "Node.js wrapper for the Spypoint game camera API",

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

@@ -26,3 +26,3 @@ import fetch from 'node-fetch'

const data = await fetch(apiEndpoint, {
headers = this._headers
headers: this._headers
})

@@ -56,4 +56,8 @@ return data.json()

const credentialRes = await fetch(LOGIN, {
username: this._username,
password: this._password
method: 'POST',
headers: this._headers,
body: JSON.stringify({
username: this._username,
password: this._password
})
})

@@ -60,0 +64,0 @@