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

artsy

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

artsy - npm Package Compare versions

Comparing version 1.7.0 to 1.8.0

endpoints/token.js

5

index.js

@@ -18,6 +18,7 @@

this.authHeader = options.header || 'X-XAPP-Token';
this.credentials = options.credentials || options.creds;
this.authorization = options.token;
if (!this.authorization) {
throw new Error('Token required to make api requests, please generate one');
if (!this.authorization && !this.credentials) {
throw new Error('Token or credentials required to make Artsy requests.');
}

@@ -24,0 +25,0 @@ },

4

package.json
{
"name": "artsy",
"version": "1.7.0",
"version": "1.8.0",
"description": "A Node.js client for the Artsy API",

@@ -34,3 +34,3 @@ "main": "lib/index.js",

"request": "~2.40.0",
"vows": "~0.7.0"
"vows": "~0.9.0-rc2"
},

@@ -37,0 +37,0 @@ "dependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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