typesense-instantsearch-adapter 2.5.0-8 → 2.5.0-9
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/typesense-instantsearch-adapter.js +1 -1
- package/dist/typesense-instantsearch-adapter.js.map +1 -1
- package/dist/typesense-instantsearch-adapter.min.js +1 -1
- package/dist/typesense-instantsearch-adapter.min.js.map +1 -1
- package/lib/Configuration.js +1 -1
- package/lib/Configuration.js.map +1 -1
- package/package.json +1 -1
- package/src/Configuration.js +1 -1
|
@@ -2271,7 +2271,7 @@ var Configuration = /*#__PURE__*/function () {
|
|
|
2271
2271
|
if (this.additionalSearchParameters.query_by.length === 0 && this.additionalSearchParameters.preset.length === 0 && (Object.keys(this.collectionSpecificSearchParameters).length === 0 || Object.values(this.collectionSpecificSearchParameters).some(function (c) {
|
|
2272
2272
|
return (c.query_by || "").length === 0 && (c.preset || "").length === 0;
|
|
2273
2273
|
}))) {
|
|
2274
|
-
throw new Error("[typesense-instantsearch-adapter] Missing parameter:
|
|
2274
|
+
throw new Error("[typesense-instantsearch-adapter] Missing parameter: One of additionalSearchParameters.query_by or additionalSearchParameters.preset needs to be set, or all collectionSpecificSearchParameters need to have either .query_by or .preset set.");
|
|
2275
2275
|
}
|
|
2276
2276
|
}
|
|
2277
2277
|
}]);
|