Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

wantworthy.js

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wantworthy.js - npm Package Compare versions

Comparing version 0.3.6 to 0.3.7

11

lib/wantworthy/resources/product.js

@@ -11,2 +11,11 @@ var resourceful = require("../resourceful");

options = options || {};
var auth = this.auth();
if(options && options.authtoken) {
auth = {'Authorization': 'token ' + options.authtoken };
delete options.authtoken;
}
//TODO: fix the 'Accept' for product sets

@@ -16,3 +25,3 @@ this._request

.send(options)
.set(this.auth())
.set(auth)
.on('error', callback)

@@ -19,0 +28,0 @@ // .set('Accept', this.schema.mediaType)

2

package.json
{
"name": "wantworthy.js",
"description": "Javascript client for working with the wantworthy.com api. Runs in node and the browser",
"version": "0.3.6",
"version": "0.3.7",
"author": "Ryan Fitzgerald <ryan@codebrewstudios.com>",

@@ -6,0 +6,0 @@ "repository": {

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