@sonic-equipment/ui 0.0.59 → 0.0.60

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -7575,6 +7575,9 @@ const offlineSearchClient = {
7575
7575
 
7576
7576
  const createSonicSearchClient = ({ apiKey, appId, host, }) => {
7577
7577
  const searchClient = algoliasearch(appId, apiKey);
7578
+ if (!host) {
7579
+ return searchClient;
7580
+ }
7578
7581
  const read = searchClient.transporter.read;
7579
7582
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
7580
7583
  // @ts-ignore
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonic-equipment/ui",
3
- "version": "0.0.59",
3
+ "version": "0.0.60",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "engines": {