@salesforce/lds-adapters-industries-constraints 1.360.0 → 1.361.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.
@@ -167,7 +167,7 @@ function validate$2(obj, path = 'CreateConstraintVersionOutputRepresentation') {
167
167
  for (let i = 0; i < obj_errors.length; i++) {
168
168
  const obj_errors_item = obj_errors[i];
169
169
  const path_errors_item = path_errors + '[' + i + ']';
170
- if (typeof obj_errors_item !== 'object') {
170
+ if (typeof obj_errors_item !== 'object' || Array.isArray(obj_errors_item)) {
171
171
  return new TypeError('Expected "object" but received "' + typeof obj_errors_item + '" (at "' + path_errors_item + '")');
172
172
  }
173
173
  }
@@ -597,7 +597,7 @@ function validate(obj, path = 'UpdateConstraintVersionOutputRepresentation') {
597
597
  for (let i = 0; i < obj_errors.length; i++) {
598
598
  const obj_errors_item = obj_errors[i];
599
599
  const path_errors_item = path_errors + '[' + i + ']';
600
- if (typeof obj_errors_item !== 'object') {
600
+ if (typeof obj_errors_item !== 'object' || Array.isArray(obj_errors_item)) {
601
601
  return new TypeError('Expected "object" but received "' + typeof obj_errors_item + '" (at "' + path_errors_item + '")');
602
602
  }
603
603
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-constraints",
3
- "version": "1.360.0",
3
+ "version": "1.361.0",
4
4
  "description": "Read/Update CML API",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/industries-constraints.js",
@@ -40,10 +40,10 @@
40
40
  "test:unit": "jest"
41
41
  },
42
42
  "dependencies": {
43
- "@salesforce/lds-bindings": "^1.360.0"
43
+ "@salesforce/lds-bindings": "^1.361.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.360.0"
46
+ "@salesforce/lds-compiler-plugins": "^1.361.0"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -177,7 +177,7 @@ function validate$2(obj, path = 'CreateConstraintVersionOutputRepresentation') {
177
177
  for (let i = 0; i < obj_errors.length; i++) {
178
178
  const obj_errors_item = obj_errors[i];
179
179
  const path_errors_item = path_errors + '[' + i + ']';
180
- if (typeof obj_errors_item !== 'object') {
180
+ if (typeof obj_errors_item !== 'object' || Array.isArray(obj_errors_item)) {
181
181
  return new TypeError('Expected "object" but received "' + typeof obj_errors_item + '" (at "' + path_errors_item + '")');
182
182
  }
183
183
  }
@@ -607,7 +607,7 @@ function validate(obj, path = 'UpdateConstraintVersionOutputRepresentation') {
607
607
  for (let i = 0; i < obj_errors.length; i++) {
608
608
  const obj_errors_item = obj_errors[i];
609
609
  const path_errors_item = path_errors + '[' + i + ']';
610
- if (typeof obj_errors_item !== 'object') {
610
+ if (typeof obj_errors_item !== 'object' || Array.isArray(obj_errors_item)) {
611
611
  return new TypeError('Expected "object" but received "' + typeof obj_errors_item + '" (at "' + path_errors_item + '")');
612
612
  }
613
613
  }
@@ -842,4 +842,4 @@ withDefaultLuvio((luvio) => {
842
842
  });
843
843
 
844
844
  export { createConstraintVersion, getConstraintVersion, getConstraintVersion_imperative, updateConstraintVersion };
845
- // version: 1.360.0-3cf173d4f8
845
+ // version: 1.361.0-eb406138cb