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

nforce

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nforce - npm Package Compare versions

Comparing version 1.3.3 to 1.4.0

1

CHANGELOG.md
## Changelog
* `v1.4.0`: Fixing content version body requests
* `v1.3.0`: Better errors - includes field errors

@@ -4,0 +5,0 @@ * `v1.2.3`: Allow plugin chaining

@@ -26,1 +26,2 @@ ## Contributors

* pentode -> [pentode](https://github.com/pentode)
* Caleb Everett -> [CalebEverett](https://github.com/CalebEverett)

@@ -558,3 +558,3 @@ var request = require('request');

} else if(type === 'contentversion') {
return this.getContentVersionBody(opts, opts.callback);
return this.getContentVersionData(opts, opts.callback);
} else {

@@ -597,2 +597,11 @@ var resolver = promises.createResolver(opts.callback);

Connection.prototype.getContentVersionData = function(data, callback) {
var opts = this._getOpts(data, callback);
var id = (opts.sobject) ? sobject.getId() : opts.id;
opts.resource = '/sobjects/contentversion/' + id + '/versiondata';
opts.method = 'GET';
opts.blob = true;
return this._apiRequest(opts, opts.callback);
};
/*****************************

@@ -599,0 +608,0 @@ * query

2

package.json

@@ -5,3 +5,3 @@ {

"description": "nforce is a REST API wrapper for force.com, database.com, and salesforce.com",
"version": "1.3.3",
"version": "1.4.0",
"keywords": [

@@ -8,0 +8,0 @@ "salesforce",

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