@piveau/sdk-vue 0.0.0-alpha.3 → 0.0.0-alpha.4

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.mjs +1 -1
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -218,7 +218,7 @@ function useSearchFactory(options) {
218
218
  return facets.map((facet) => {
219
219
  return {
220
220
  ...facet,
221
- items: facet.items.map((item) => {
221
+ items: facet.items.filter((maybeNullishItem) => maybeNullishItem !== null && maybeNullishItem !== void 0).map((item) => {
222
222
  return {
223
223
  ...item,
224
224
  title: typeof item.title === "string" ? item.title : getTranslationFor(item.title, resolvedLocale)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@piveau/sdk-vue",
3
3
  "type": "module",
4
- "version": "0.0.0-alpha.3",
4
+ "version": "0.0.0-alpha.4",
5
5
  "description": "",
6
6
  "author": "",
7
7
  "license": "ISC",
@@ -38,7 +38,7 @@
38
38
  "pinia": "^2.1.7",
39
39
  "vue-demi": ">=0.14.7",
40
40
  "zod": "^3.22.4",
41
- "@piveau/sdk-core": "^0.0.0-alpha.3"
41
+ "@piveau/sdk-core": "^0.0.0-alpha.4"
42
42
  },
43
43
  "devDependencies": {
44
44
  "msw": "^2.2.1",