@salesforce/lds-adapters-service-servicecatalogcategory 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.
@@ -257,7 +257,7 @@ function validate(obj, path = 'SvcCatalogCategoryOutputRepresentation') {
257
257
  for (let i = 0; i < obj_categories.length; i++) {
258
258
  const obj_categories_item = obj_categories[i];
259
259
  const path_categories_item = path_categories + '[' + i + ']';
260
- if (typeof obj_categories_item !== 'object') {
260
+ if (typeof obj_categories_item !== 'object' || Array.isArray(obj_categories_item)) {
261
261
  return new TypeError('Expected "object" but received "' + typeof obj_categories_item + '" (at "' + path_categories_item + '")');
262
262
  }
263
263
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-service-servicecatalogcategory",
3
- "version": "1.360.0",
3
+ "version": "1.361.0",
4
4
  "description": "Work with categories according to you Service Catalog categorization selection",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/service-servicecatalogcategory.js",
@@ -40,11 +40,11 @@
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",
47
- "@salesforce/lds-karma": "^1.360.0"
46
+ "@salesforce/lds-compiler-plugins": "^1.361.0",
47
+ "@salesforce/lds-karma": "^1.361.0"
48
48
  },
49
49
  "nx": {
50
50
  "targets": {
package/sfdc/index.js CHANGED
@@ -267,7 +267,7 @@ function validate(obj, path = 'SvcCatalogCategoryOutputRepresentation') {
267
267
  for (let i = 0; i < obj_categories.length; i++) {
268
268
  const obj_categories_item = obj_categories[i];
269
269
  const path_categories_item = path_categories + '[' + i + ']';
270
- if (typeof obj_categories_item !== 'object') {
270
+ if (typeof obj_categories_item !== 'object' || Array.isArray(obj_categories_item)) {
271
271
  return new TypeError('Expected "object" but received "' + typeof obj_categories_item + '" (at "' + path_categories_item + '")');
272
272
  }
273
273
  }
@@ -517,4 +517,4 @@ withDefaultLuvio((luvio) => {
517
517
  });
518
518
 
519
519
  export { getCategories, getCategories_imperative };
520
- // version: 1.360.0-3cf173d4f8
520
+ // version: 1.361.0-eb406138cb