recombee-api-client
Advanced tools
Comparing version 1.3.2 to 1.3.3
@@ -21,4 +21,5 @@ 'use strict'; | ||
* @param {boolean} alwaysUseHttps - If true, all requests are sent using HTTPS (default: false) | ||
* @param {Object} options - Other custom options | ||
*/ | ||
constructor (databaseId, token, alwaysUseHttps) { | ||
constructor (databaseId, token, alwaysUseHttps, options) { | ||
this.databaseId = databaseId; | ||
@@ -28,2 +29,3 @@ this.token = token; | ||
this.baseUri = process.env.RAPI_URI || 'rapi.recombee.com'; | ||
this.options = options || {}; | ||
} | ||
@@ -51,2 +53,5 @@ | ||
if (this.options.proxy) | ||
options.proxy = this.options.proxy; | ||
if (request.bodyParameters()) | ||
@@ -53,0 +58,0 @@ options.body = request.bodyParameters(); |
{ | ||
"name": "recombee-api-client", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"description": "Node.js client (SDK) for easy use of the Recombee recommendation API", | ||
@@ -5,0 +5,0 @@ "main": "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
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
287213
9775