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.1

2

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

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

@@ -31,5 +31,5 @@ import fetch from 'node-fetch'

async post(cameraId, options = { tags: [], limit: 100 }) {
async post(cameraId = isRequired(), options = { tags: [], limit: 100 }) {
const data = await fetch(PHOTOS = isRequired(), {
const data = await fetch(PHOTOS, {
method: 'POST',

@@ -36,0 +36,0 @@ headers: this._headers,