comprodls-sdk 2.54.0 → 2.54.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -903,7 +903,8 @@ function getClassProductRecentPendingSubmissions(options) {
903
903
 
904
904
  /*options = {
905
905
  * classid: 'string', // class uuid
906
- * productcode: 'string', // product code
906
+ * productcode: 'string', // product code
907
+ * userids: 'string', // comma separated userids as a single string e.g. '<userid1>,<userid2>..'(optional)
907
908
  * includeContext: 'boolean' // includse context or heirarchy (optional)
908
909
  *}
909
910
  */
@@ -926,8 +927,9 @@ function getClassRecord(options) {
926
927
  var queryParams = {
927
928
  classid: options.classid,
928
929
  productcode: options.productcode,
930
+ userids: options.userids,
929
931
  includeContext: options.includeContext
930
- }
932
+ };
931
933
 
932
934
  // Setup Request with url and params
933
935
  var requestAPI = request.get(url).query(queryParams);
@@ -942,9 +944,7 @@ function getClassRecord(options) {
942
944
  if(error) {
943
945
  err = new DLSError(helpers.errors.ERROR_TYPES.API_ERROR, error);
944
946
  dfd.reject(err);
945
- } else {
946
- dfd.resolve(response.body)
947
- }
947
+ } else { dfd.resolve(response.body); }
948
948
  });
949
949
  }
950
950
  } else {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "comprodls-sdk",
3
3
  "description": "comproDLS SDK for JavaScript",
4
- "version": "2.54.0",
4
+ "version": "2.54.1",
5
5
  "author": {
6
6
  "name": "Compro Technologies Private Limited",
7
7
  "url": "http://www.comprotechnologies.com/"