@salesforcedevs/dx-components 0.10.1-alpha.139 → 0.10.1-alpha.142

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