@salesforce/lds-adapters-commerce-search 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.
@@ -366,7 +366,7 @@ function validate$c(obj, path = 'SearchBoostBuryRuleOutputRepresentation') {
366
366
  }
367
367
  const obj_queryContext = obj.queryContext;
368
368
  const path_queryContext = path + '.queryContext';
369
- if (typeof obj_queryContext !== 'object') {
369
+ if (typeof obj_queryContext !== 'object' || Array.isArray(obj_queryContext)) {
370
370
  return new TypeError('Expected "object" but received "' + typeof obj_queryContext + '" (at "' + path_queryContext + '")');
371
371
  }
372
372
  const obj_startDate = obj.startDate;
@@ -376,7 +376,7 @@ function validate$c(obj, path = 'SearchBoostBuryRuleOutputRepresentation') {
376
376
  }
377
377
  const obj_targetExpression = obj.targetExpression;
378
378
  const path_targetExpression = path + '.targetExpression';
379
- if (typeof obj_targetExpression !== 'object') {
379
+ if (typeof obj_targetExpression !== 'object' || Array.isArray(obj_targetExpression)) {
380
380
  return new TypeError('Expected "object" but received "' + typeof obj_targetExpression + '" (at "' + path_targetExpression + '")');
381
381
  }
382
382
  })();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-commerce-search",
3
- "version": "1.360.0",
3
+ "version": "1.361.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "Wire adapters Community Navigation Menu",
6
6
  "main": "dist/es/es2018/commerce-search.js",
@@ -29,11 +29,11 @@
29
29
  "release:core": "../../scripts/release/core.js --adapter=lds-adapters-commerce-search"
30
30
  },
31
31
  "dependencies": {
32
- "@salesforce/lds-bindings": "^1.360.0"
32
+ "@salesforce/lds-bindings": "^1.361.0"
33
33
  },
34
34
  "devDependencies": {
35
- "@salesforce/lds-compiler-plugins": "^1.360.0",
36
- "@salesforce/lds-karma": "^1.360.0"
35
+ "@salesforce/lds-compiler-plugins": "^1.361.0",
36
+ "@salesforce/lds-karma": "^1.361.0"
37
37
  },
38
38
  "nx": {
39
39
  "targets": {
package/sfdc/index.js CHANGED
@@ -493,7 +493,7 @@ function validate$8(obj, path = 'SearchBoostBuryRuleOutputRepresentation') {
493
493
  }
494
494
  const obj_queryContext = obj.queryContext;
495
495
  const path_queryContext = path + '.queryContext';
496
- if (typeof obj_queryContext !== 'object') {
496
+ if (typeof obj_queryContext !== 'object' || Array.isArray(obj_queryContext)) {
497
497
  return new TypeError('Expected "object" but received "' + typeof obj_queryContext + '" (at "' + path_queryContext + '")');
498
498
  }
499
499
  const obj_startDate = obj.startDate;
@@ -503,7 +503,7 @@ function validate$8(obj, path = 'SearchBoostBuryRuleOutputRepresentation') {
503
503
  }
504
504
  const obj_targetExpression = obj.targetExpression;
505
505
  const path_targetExpression = path + '.targetExpression';
506
- if (typeof obj_targetExpression !== 'object') {
506
+ if (typeof obj_targetExpression !== 'object' || Array.isArray(obj_targetExpression)) {
507
507
  return new TypeError('Expected "object" but received "' + typeof obj_targetExpression + '" (at "' + path_targetExpression + '")');
508
508
  }
509
509
  })();
@@ -2046,4 +2046,4 @@ withDefaultLuvio((luvio) => {
2046
2046
  });
2047
2047
 
2048
2048
  export { createSearchBoostBuryRule, deleteSearchBoostBuryRule, getSearchBoostBuryRule, getSearchBoostBuryRuleNotifyChange, getSearchBoostBuryRule_imperative, getSearchBoostBuryRules, getSearchBoostBuryRules_imperative, getSuggestions, getSuggestions_imperative, notifySearchBoostBuryRulesCollectionOutputRepresentationUpdateAvailable, productSearch, productSearch_imperative, updateSearchBoostBuryRule };
2049
- // version: 1.360.0-3cf173d4f8
2049
+ // version: 1.361.0-eb406138cb