diff --git a/packages/autocomplete-client/CHANGELOG.md b/packages/autocomplete-client/CHANGELOG.md index 2ae8880b3..cfbfe5fc5 100644 --- a/packages/autocomplete-client/CHANGELOG.md +++ b/packages/autocomplete-client/CHANGELOG.md @@ -1,12 +1,5 @@ # @meilisearch/autocomplete-client -## 0.2.2-prototype-search-for-facet-values.0 - -### Patch Changes - -- Updated dependencies [458bbf3] - - @meilisearch/instant-meilisearch@0.13.3-prototype-search-for-facet-values.0 - ## 0.2.1 ### Patch Changes diff --git a/packages/autocomplete-client/package.json b/packages/autocomplete-client/package.json index 9050d75a4..a44da500a 100644 --- a/packages/autocomplete-client/package.json +++ b/packages/autocomplete-client/package.json @@ -1,6 +1,6 @@ { "name": "@meilisearch/autocomplete-client", - "version": "0.2.2-prototype-search-for-facet-values.0", + "version": "0.2.1", "private": false, "description": "The search client to use Meilisearch with autocomplete.js.", "homepage": "https://github.com/meilisearch/meilisearch-js-plugins/tree/main/packages/autocomplete-client", @@ -47,7 +47,7 @@ "url": "https://github.com/meilisearch/meilisearch-js-plugins.git" }, "dependencies": { - "@meilisearch/instant-meilisearch": "0.13.3-prototype-search-for-facet-values.0" + "@meilisearch/instant-meilisearch": "*" }, "devDependencies": { "@algolia/autocomplete-js": "^1.7.4", diff --git a/packages/autocomplete-client/src/package-version.ts b/packages/autocomplete-client/src/package-version.ts index 639621664..f92d98d0a 100644 --- a/packages/autocomplete-client/src/package-version.ts +++ b/packages/autocomplete-client/src/package-version.ts @@ -1 +1 @@ -export const PACKAGE_VERSION = '0.2.2-prototype-search-for-facet-values.0' +export const PACKAGE_VERSION = '0.2.1' diff --git a/packages/instant-meilisearch/package.json b/packages/instant-meilisearch/package.json index f9fda4057..bb3f6a51d 100644 --- a/packages/instant-meilisearch/package.json +++ b/packages/instant-meilisearch/package.json @@ -50,7 +50,7 @@ "templates" ], "dependencies": { - "meilisearch": "0.33.0-prototype-search-for-facet-values.1" + "meilisearch": "^0.35.0-v1.3.0-pre-release.0" }, "devDependencies": { "@babel/cli": "^7.21.0", diff --git a/packages/instant-meilisearch/src/contexts/search-context.ts b/packages/instant-meilisearch/src/contexts/search-context.ts index 1d62aebfe..1790e0987 100644 --- a/packages/instant-meilisearch/src/contexts/search-context.ts +++ b/packages/instant-meilisearch/src/contexts/search-context.ts @@ -76,7 +76,7 @@ export function createFacetSearchContext( instantSearchParams?.page ) - const sortState = createSortState(sortByArray.join(':')) + const sortState = splitSortString(sortByArray.join(':')) const searchContext: SearchContext = { ...options, diff --git a/playgrounds/autocomplete/package.json b/playgrounds/autocomplete/package.json index f556ccae7..6e732e671 100644 --- a/playgrounds/autocomplete/package.json +++ b/playgrounds/autocomplete/package.json @@ -26,7 +26,7 @@ "@algolia/autocomplete-plugin-query-suggestions": "^1.9.3", "@algolia/autocomplete-plugin-tags": "^1.9.2", "@algolia/autocomplete-theme-classic": "^1.7.4", - "@meilisearch/autocomplete-client": "0.2.2-prototype-search-for-facet-values.0" + "@meilisearch/autocomplete-client": "*" }, "devDependencies": { "@babel/core": "^7.13.1", diff --git a/playgrounds/node-env/package.json b/playgrounds/node-env/package.json index 62caa1a7e..0d365ce0b 100644 --- a/playgrounds/node-env/package.json +++ b/playgrounds/node-env/package.json @@ -15,6 +15,6 @@ ], "license": "MIT", "dependencies": { - "@meilisearch/instant-meilisearch": "0.13.3-prototype-search-for-facet-values.0" + "@meilisearch/instant-meilisearch": "*" } } diff --git a/yarn.lock b/yarn.lock index 0f4e58a28..1b92e4cc0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10269,10 +10269,10 @@ media-typer@0.3.0: resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" integrity sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ== -meilisearch@0.33.0-prototype-search-for-facet-values.1: - version "0.33.0-prototype-search-for-facet-values.1" - resolved "https://registry.yarnpkg.com/meilisearch/-/meilisearch-0.33.0-prototype-search-for-facet-values.1.tgz#e8cfd380880dbf7c2c0de9e52ca581c05062a65f" - integrity sha512-tP2NHj4LIG/L7RQc8IdCOnn3u7MU5RDITf4vEjwToCREtoqadEGahypPfnjRMD7Iw/2j3ELk81SpbFArrSXpCg== +meilisearch@^0.35.0-v1.3.0-pre-release.0: + version "0.35.0-v1.3.0-pre-release.0" + resolved "https://registry.yarnpkg.com/meilisearch/-/meilisearch-0.35.0-v1.3.0-pre-release.0.tgz#9a040b257780f4c8c27732d650896aa8e4afc2a3" + integrity sha512-whAQ0yZh1EQwEBTwBkTleW57sC9qzQ0IefITgetJL01alZvWwodAT50xbYPJiuOAEuuaN27f689DF14XMoDMzg== dependencies: cross-fetch "^3.1.6"