@salesforcedevs/dx-components 0.10.1-alpha.138 → 0.10.1-alpha.141

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/dx-components",
3
- "version": "0.10.1-alpha.138",
3
+ "version": "0.10.1-alpha.141",
4
4
  "description": "DX Lightning web components",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -40,11 +40,11 @@ export default class SidebarSearch extends LightningElement {
40
40
  const jsonValue = toJson(value);
41
41
  const hasChanged =
42
42
  this._coveoAdvancedQueryConfig &&
43
- Object.entries(jsonValue).every(
44
- ([key, val]: [string, any]) =>
45
- this._coveoAdvancedQueryConfig[key] === val
46
- );
47
- console.log({ hasChanged }, this._coveoAdvancedQueryConfig, value);
43
+ Object.entries(jsonValue).some(([key, val]: [string, any]) => {
44
+ console.log(key, val);
45
+ return this._coveoAdvancedQueryConfig[key] !== val;
46
+ });
47
+ console.log({ hasChanged });
48
48
  this._coveoAdvancedQueryConfig = jsonValue;
49
49
 
50
50
  if (hasChanged && this.engine) {
@@ -116,7 +116,6 @@ export default class SidebarSearch extends LightningElement {
116
116
  // in prod some of the critical coveo configuration attributes seem to arrive later
117
117
  // so I needed to put this coveo startup flow here where we can wait for them to arrive
118
118
  if (this.hasCorrectCoveoConfig && !this.engine) {
119
- console.log("coveo config is good");
120
119
  this.initializeUserSession();
121
120
  this.initializeCoveo();
122
121
  } else if (!this.hasCorrectCoveoConfig) {