dispatch-node-sdk
Advanced tools
Comparing version 3.10.0 to 3.11.0
@@ -157,3 +157,3 @@ 'use strict'; | ||
addPhoto: function addPhoto(fileToken, name, description, options) { | ||
addPhoto: function addPhoto(fileToken, name, description, privateBool, options) { | ||
var body = { | ||
@@ -164,3 +164,4 @@ entity_type: 'Job', | ||
name: name, | ||
file_token: fileToken | ||
file_token: fileToken, | ||
private: privateBool | ||
}; | ||
@@ -167,0 +168,0 @@ |
@@ -123,3 +123,3 @@ import isEmpty from 'lodash/isEmpty'; | ||
addPhoto: (fileToken, name, description, options) => { | ||
addPhoto: (fileToken, name, description, privateBool, options) => { | ||
const body = { | ||
@@ -131,2 +131,3 @@ entity_type: 'Job', | ||
file_token: fileToken, | ||
private: privateBool, | ||
}; | ||
@@ -133,0 +134,0 @@ |
{ | ||
"name": "dispatch-node-sdk", | ||
"version": "3.10.0", | ||
"version": "3.11.0", | ||
"description": "High- and low-level libraries for interacting with the Dispatch API", | ||
@@ -5,0 +5,0 @@ "main": "dist/lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
284558
7041