@colijnit/ioneconnector 1.0.138 → 1.0.139

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.
@@ -287,7 +287,7 @@ class Connector {
287
287
  const selections = [];
288
288
  const len = rawData ? rawData.length : 0;
289
289
  for (let i = 0; i < len; i++) {
290
- const selection = new selection_1.Selection(rawData[i]);
290
+ const selection = this.boFactory.makeWithRawBackendData(selection_1.Selection, rawData[i]);
291
291
  selection.instanceId = this.connection.currentInstanceId;
292
292
  selections.push(selection);
293
293
  }
@@ -75,7 +75,7 @@ class DataRepositoryService {
75
75
  return new Promise((resolve, reject) => {
76
76
  return this.call(data)
77
77
  .then((result) => {
78
- if (result.data.validationResult && result.data.validationResult.success) {
78
+ if (result.data.validationResult && result.data.validationResult.success && result.data.resultObject) {
79
79
  return resolve(result.data.resultObject);
80
80
  }
81
81
  else {
@@ -792,7 +792,7 @@ class DataRepositoryService {
792
792
  refCursorAsArray: true,
793
793
  parameterValues: params
794
794
  };
795
- return this.call(data, undefined, showLoader);
795
+ return this.call(data, data_service_method_enum_1.DataServiceMethod.ExecuteMethod, showLoader);
796
796
  }
797
797
  callGenerateFrozenArticle(configuratorStatistics) {
798
798
  const params = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/ioneconnector",
3
- "version": "1.0.138",
3
+ "version": "1.0.139",
4
4
  "scripts": {
5
5
  "build": "grunt clean && tsc",
6
6
  "browserify": "browserify build/connector.js --s colijn -o dist/out-tsc/bundle.js",