@salesforce/lds-adapters-cdp-data-transform 1.360.1 → 1.362.0

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.
@@ -446,7 +446,7 @@ function validate$5(obj, path = 'DataTransformDefinitionRepresentation') {
446
446
  for (let i = 0; i < obj_outputDataObjects.length; i++) {
447
447
  const obj_outputDataObjects_item = obj_outputDataObjects[i];
448
448
  const path_outputDataObjects_item = path_outputDataObjects + '[' + i + ']';
449
- if (typeof obj_outputDataObjects_item !== 'object') {
449
+ if (typeof obj_outputDataObjects_item !== 'object' || Array.isArray(obj_outputDataObjects_item)) {
450
450
  return new TypeError('Expected "object" but received "' + typeof obj_outputDataObjects_item + '" (at "' + path_outputDataObjects_item + '")');
451
451
  }
452
452
  }
@@ -601,7 +601,7 @@ function validate$4(obj, path = 'DataTransformRepresentation') {
601
601
  }
602
602
  const obj_definition = obj.definition;
603
603
  const path_definition = path + '.definition';
604
- if (typeof obj_definition !== 'object') {
604
+ if (typeof obj_definition !== 'object' || Array.isArray(obj_definition)) {
605
605
  return new TypeError('Expected "object" but received "' + typeof obj_definition + '" (at "' + path_definition + '")');
606
606
  }
607
607
  const obj_description = obj.description;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-cdp-data-transform",
3
- "version": "1.360.1",
3
+ "version": "1.362.0",
4
4
  "description": "CRUD API for CDP data transforms",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/cdp-data-transform.js",
@@ -40,10 +40,10 @@
40
40
  "test:unit": "jest"
41
41
  },
42
42
  "dependencies": {
43
- "@salesforce/lds-bindings": "^1.360.1"
43
+ "@salesforce/lds-bindings": "^1.362.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.360.1"
46
+ "@salesforce/lds-compiler-plugins": "^1.362.0"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -857,7 +857,7 @@ function validate$3(obj, path = 'DataTransformDefinitionRepresentation') {
857
857
  for (let i = 0; i < obj_outputDataObjects.length; i++) {
858
858
  const obj_outputDataObjects_item = obj_outputDataObjects[i];
859
859
  const path_outputDataObjects_item = path_outputDataObjects + '[' + i + ']';
860
- if (typeof obj_outputDataObjects_item !== 'object') {
860
+ if (typeof obj_outputDataObjects_item !== 'object' || Array.isArray(obj_outputDataObjects_item)) {
861
861
  return new TypeError('Expected "object" but received "' + typeof obj_outputDataObjects_item + '" (at "' + path_outputDataObjects_item + '")');
862
862
  }
863
863
  }
@@ -1012,7 +1012,7 @@ function validate$2(obj, path = 'DataTransformRepresentation') {
1012
1012
  }
1013
1013
  const obj_definition = obj.definition;
1014
1014
  const path_definition = path + '.definition';
1015
- if (typeof obj_definition !== 'object') {
1015
+ if (typeof obj_definition !== 'object' || Array.isArray(obj_definition)) {
1016
1016
  return new TypeError('Expected "object" but received "' + typeof obj_definition + '" (at "' + path_definition + '")');
1017
1017
  }
1018
1018
  const obj_description = obj.description;
@@ -2059,4 +2059,4 @@ withDefaultLuvio((luvio) => {
2059
2059
  });
2060
2060
 
2061
2061
  export { createDataTransform, deleteDataTransform, getDataTransform, getDataTransformNotifyChange, getDataTransform_imperative, validateDataTransforms, validateDataTransforms_imperative };
2062
- // version: 1.360.1-0f1676c606
2062
+ // version: 1.362.0-d2e818ae61