@js4cytoscape/ndex-client
Advanced tools
Comparing version
{ | ||
"name": "@js4cytoscape/ndex-client", | ||
"version": "0.4.3-alpha.2", | ||
"version": "0.4.3-alpha.3", | ||
"description": "NDEx client library", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -492,3 +492,3 @@ const axios = require('axios'); | ||
interConnectQuery(uuid, searchTerms, saveResult, parameters) { | ||
interConnectQuery(uuid, searchTerms, saveResult, parameters, outputCX2 = false) { | ||
let params = {}; | ||
@@ -507,3 +507,9 @@ | ||
} | ||
if ( parameters.nodeIds !=null) { | ||
data.nodeIds = parameters.nodeIds; | ||
} | ||
} | ||
if (outputCX2) | ||
return this._httpPostV3ProtectedObj('search/networks/' + uuid + '/interconnectquery', params, data); | ||
return this._httpPostProtectedObj('search/network/' + uuid + '/interconnectquery', params, data); | ||
@@ -529,2 +535,12 @@ | ||
getNetworkSummariesV3ByUUIDs(uuidList, accessKey,fmt) { | ||
let parameter = {format: fmt == undefined ? "FULL" : fmt} | ||
if(accessKey === undefined) | ||
parameter['accesskey']= accessKey; | ||
return this._httpPostV3ProtectedObj('/networks/summary', parameter, uuidList); | ||
} | ||
getNetworkPermissionsByUUIDs(uuidList) { | ||
@@ -768,7 +784,7 @@ return this._httpPostProtectedObj('batch/network/permission', undefined, uuidList); | ||
(response) => { | ||
let uuidr = response.split('/'); | ||
// let uuidr = response.split('/'); | ||
let uuid = uuidr[uuidr.length - 1]; | ||
// let uuid = uuidr[uuidr.length - 1]; | ||
return resolve(uuid); | ||
return resolve(response); | ||
}, | ||
@@ -775,0 +791,0 @@ (err) => {reject(err);} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
573474
0.1%3027
0.36%