@fctc/widget-logic 2.5.0 → 2.5.1

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/index.js CHANGED
@@ -7252,7 +7252,7 @@ var searchController = ({
7252
7252
  const formatDomain = () => {
7253
7253
  if (domainAction) {
7254
7254
  const domain2 = [];
7255
- if (domainAction?.length > 0) {
7255
+ if (Array.isArray(domainAction) && domainAction.length > 0) {
7256
7256
  if (Object.keys(searchMap).some((key) => !key.includes(import_constants3.SearchType.GROUP))) {
7257
7257
  domain2.push("&");
7258
7258
  }
package/dist/index.mjs CHANGED
@@ -7341,7 +7341,7 @@ var searchController = ({
7341
7341
  const formatDomain = () => {
7342
7342
  if (domainAction) {
7343
7343
  const domain2 = [];
7344
- if (domainAction?.length > 0) {
7344
+ if (Array.isArray(domainAction) && domainAction.length > 0) {
7345
7345
  if (Object.keys(searchMap).some((key) => !key.includes(SearchType.GROUP))) {
7346
7346
  domain2.push("&");
7347
7347
  }
package/dist/widget.js CHANGED
@@ -6555,7 +6555,7 @@ var searchController = ({
6555
6555
  const formatDomain = () => {
6556
6556
  if (domainAction) {
6557
6557
  const domain2 = [];
6558
- if (domainAction?.length > 0) {
6558
+ if (Array.isArray(domainAction) && domainAction.length > 0) {
6559
6559
  if (Object.keys(searchMap).some((key) => !key.includes(import_constants3.SearchType.GROUP))) {
6560
6560
  domain2.push("&");
6561
6561
  }
package/dist/widget.mjs CHANGED
@@ -6621,7 +6621,7 @@ var searchController = ({
6621
6621
  const formatDomain = () => {
6622
6622
  if (domainAction) {
6623
6623
  const domain2 = [];
6624
- if (domainAction?.length > 0) {
6624
+ if (Array.isArray(domainAction) && domainAction.length > 0) {
6625
6625
  if (Object.keys(searchMap).some((key) => !key.includes(SearchType.GROUP))) {
6626
6626
  domain2.push("&");
6627
6627
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/widget-logic",
3
- "version": "2.5.0",
3
+ "version": "2.5.1",
4
4
  "types": "dist/index.d.ts",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",