vue-datocms 8.1.4 → 8.1.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/dist/index.cjs.js CHANGED
@@ -1492,7 +1492,8 @@ function useSiteSearch(config) {
1492
1492
  filter: {
1493
1493
  query: state.query,
1494
1494
  locale: state.locale,
1495
- build_trigger_id: config.buildTriggerId
1495
+ build_trigger_id: config.buildTriggerId,
1496
+ search_index_id: config.searchIndexId
1496
1497
  },
1497
1498
  page: {
1498
1499
  limit: resultsPerPage,
package/dist/index.d.ts CHANGED
@@ -1239,6 +1239,7 @@ type SearchResultInstancesHrefSchema = {
1239
1239
  fuzzy?: string | boolean;
1240
1240
  query: string;
1241
1241
  build_trigger_id?: string;
1242
+ search_index_id?: string;
1242
1243
  locale?: string;
1243
1244
  [k: string]: unknown;
1244
1245
  };
@@ -1274,7 +1275,8 @@ declare class GenericClient {
1274
1275
  }
1275
1276
  type UseSiteSearchConfig<Client extends GenericClient> = {
1276
1277
  client: Client;
1277
- buildTriggerId: string;
1278
+ buildTriggerId?: string;
1279
+ searchIndexId?: string;
1278
1280
  fuzzySearch?: boolean;
1279
1281
  resultsPerPage?: number;
1280
1282
  initialState?: {
@@ -1468,7 +1468,8 @@ function useSiteSearch(config) {
1468
1468
  filter: {
1469
1469
  query: state.query,
1470
1470
  locale: state.locale,
1471
- build_trigger_id: config.buildTriggerId
1471
+ build_trigger_id: config.buildTriggerId,
1472
+ search_index_id: config.searchIndexId
1472
1473
  },
1473
1474
  page: {
1474
1475
  limit: resultsPerPage,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-datocms",
3
- "version": "8.1.4",
3
+ "version": "8.1.5",
4
4
  "description": "A set of components and utilities to work faster with DatoCMS in Vue.js environments",
5
5
  "keywords": [
6
6
  "datocms",