@descope-ui/common 0.0.4 → 0.0.5

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/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [0.0.5](https://github.com/descope/web-components-ui/compare/@descope-ui/common-0.0.4...@descope-ui/common-0.0.5) (2025-02-26)
6
+
5
7
  ## [0.0.4](https://github.com/descope/web-components-ui/compare/@descope-ui/common-0.0.3...@descope-ui/common-0.0.4) (2025-02-17)
6
8
 
7
9
  ## [0.0.3](https://github.com/descope/web-components-ui/compare/@descope-ui/common-0.0.2...@descope-ui/common-0.0.3) (2025-02-04)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@descope-ui/common",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "dependencies": {
5
5
  "element-internals-polyfill": "^1.3.9",
6
6
  "color": "^4.2.3",
@@ -23,14 +23,6 @@ export const createBaseConnectorClass = () =>
23
23
  );
24
24
 
25
25
  if (missingOrInvalidParams.length) {
26
- // eslint-disable-next-line no-console
27
- console.error(
28
- `[${this.constructor.name}] Invalid configuration. Issues with parameters:`,
29
- missingOrInvalidParams.map((param) => ({
30
- param,
31
- value: this.getAttribute(param),
32
- })),
33
- );
34
26
  return false;
35
27
  }
36
28
  return true;
@@ -24,8 +24,6 @@ export const connectorMixin =
24
24
  const template = this.connectorTemplate;
25
25
 
26
26
  if (!this.connectorClasses[template]) {
27
- // eslint-disable-next-line no-console
28
- console.error(`Unsupported connector template: ${template}`);
29
27
  return;
30
28
  }
31
29
  const ConnectorClass = this.connectorClasses[template];
@@ -35,7 +33,9 @@ export const connectorMixin =
35
33
  async fetchConnectorResults(query) {
36
34
  if (!this.connector) {
37
35
  // eslint-disable-next-line no-console
38
- console.error('No connector initialized for the field');
36
+ console.error(
37
+ `No connector initialized for the field with template: ${this.connectorTemplate}`,
38
+ );
39
39
  return { results: [] };
40
40
  }
41
41