@descope/web-components-ui 1.28.0 → 1.30.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.
- package/dist/cjs/index.cjs.js +3 -11
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3 -11
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/2540.js +1 -1
- package/dist/umd/8823.js +1 -1
- package/dist/umd/DescopeDev.js +1 -1
- package/package.json +7 -7
package/dist/index.esm.js
CHANGED
@@ -4173,14 +4173,6 @@ const createBaseConnectorClass = () =>
|
|
4173
4173
|
);
|
4174
4174
|
|
4175
4175
|
if (missingOrInvalidParams.length) {
|
4176
|
-
// eslint-disable-next-line no-console
|
4177
|
-
console.error(
|
4178
|
-
`[${this.constructor.name}] Invalid configuration. Issues with parameters:`,
|
4179
|
-
missingOrInvalidParams.map((param) => ({
|
4180
|
-
param,
|
4181
|
-
value: this.getAttribute(param),
|
4182
|
-
})),
|
4183
|
-
);
|
4184
4176
|
return false;
|
4185
4177
|
}
|
4186
4178
|
return true;
|
@@ -4643,8 +4635,6 @@ const connectorMixin =
|
|
4643
4635
|
const template = this.connectorTemplate;
|
4644
4636
|
|
4645
4637
|
if (!this.connectorClasses[template]) {
|
4646
|
-
// eslint-disable-next-line no-console
|
4647
|
-
console.error(`Unsupported connector template: ${template}`);
|
4648
4638
|
return;
|
4649
4639
|
}
|
4650
4640
|
const ConnectorClass = this.connectorClasses[template];
|
@@ -4654,7 +4644,9 @@ const connectorMixin =
|
|
4654
4644
|
async fetchConnectorResults(query) {
|
4655
4645
|
if (!this.connector) {
|
4656
4646
|
// eslint-disable-next-line no-console
|
4657
|
-
console.error(
|
4647
|
+
console.error(
|
4648
|
+
`No connector initialized for the field with template: ${this.connectorTemplate}`,
|
4649
|
+
);
|
4658
4650
|
return { results: [] };
|
4659
4651
|
}
|
4660
4652
|
|