@salesforce/lds-adapters-starter-solution-recipes 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.
@@ -925,7 +925,7 @@ function validate(obj, path = 'SolutionLibraryOutputRepresentation') {
925
925
  for (let i = 0; i < obj_recipes.length; i++) {
926
926
  const obj_recipes_item = obj_recipes[i];
927
927
  const path_recipes_item = path_recipes + '[' + i + ']';
928
- if (typeof obj_recipes_item !== 'object') {
928
+ if (typeof obj_recipes_item !== 'object' || Array.isArray(obj_recipes_item)) {
929
929
  return new TypeError('Expected "object" but received "' + typeof obj_recipes_item + '" (at "' + path_recipes_item + '")');
930
930
  }
931
931
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-starter-solution-recipes",
3
- "version": "1.360.1",
3
+ "version": "1.362.0",
4
4
  "description": "This API family contains the wires that are used for the features related to solution recipes, like wires related to Spotlight and Solution Library",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/starter-solution-recipes.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
@@ -934,7 +934,7 @@ function validate(obj, path = 'SolutionLibraryOutputRepresentation') {
934
934
  for (let i = 0; i < obj_recipes.length; i++) {
935
935
  const obj_recipes_item = obj_recipes[i];
936
936
  const path_recipes_item = path_recipes + '[' + i + ']';
937
- if (typeof obj_recipes_item !== 'object') {
937
+ if (typeof obj_recipes_item !== 'object' || Array.isArray(obj_recipes_item)) {
938
938
  return new TypeError('Expected "object" but received "' + typeof obj_recipes_item + '" (at "' + path_recipes_item + '")');
939
939
  }
940
940
  }
@@ -1184,4 +1184,4 @@ withDefaultLuvio((luvio) => {
1184
1184
  });
1185
1185
 
1186
1186
  export { postSolutionLibraryRecipes };
1187
- // version: 1.360.1-0f1676c606
1187
+ // version: 1.362.0-d2e818ae61