@graphcommerce/algolia-insights 9.0.1-canary.0 → 9.0.1

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/CHANGELOG.md CHANGED
@@ -1,37 +1,13 @@
1
1
  # @graphcommerce/algolia-personalization
2
2
 
3
- ## 9.0.1-canary.0
3
+ ## 9.0.1
4
4
 
5
- ## 9.0.0
5
+ ### Patch Changes
6
6
 
7
- ## 9.0.0-canary.118
7
+ - [#2461](https://github.com/graphcommerce-org/graphcommerce/pull/2461) [`aac4864`](https://github.com/graphcommerce-org/graphcommerce/commit/aac4864c191f3a0490373abdd52b5f1c460b56a3) - Solve issue where the item.filters would sometimes be invalid ([@paales](https://github.com/paales))
8
8
 
9
- ## 9.0.0-canary.117
9
+ ## 9.0.1-canary.1
10
10
 
11
- ## 9.0.0-canary.116
11
+ ### Patch Changes
12
12
 
13
- ## 9.0.0-canary.115
14
-
15
- ## 9.0.0-canary.114
16
-
17
- ## 9.0.0-canary.113
18
-
19
- ## 9.0.0-canary.112
20
-
21
- ## 9.0.0-canary.111
22
-
23
- ## 9.0.0-canary.110
24
-
25
- ## 9.0.0-canary.109
26
-
27
- ## 9.0.0-canary.108
28
-
29
- ## 9.0.0-canary.107
30
-
31
- ## 9.0.0-canary.106
32
-
33
- ## 9.0.0-canary.105
34
-
35
- ## 9.0.0-canary.104
36
-
37
- ## 9.0.0-canary.103
13
+ - [#2461](https://github.com/graphcommerce-org/graphcommerce/pull/2461) [`aac4864`](https://github.com/graphcommerce-org/graphcommerce/commit/aac4864c191f3a0490373abdd52b5f1c460b56a3) - Solve issue where the item.filters would sometimes be invalid ([@paales](https://github.com/paales))
@@ -183,7 +183,7 @@ const dataLayerToAlgoliaMap: {
183
183
  const mapping = getObjectIDToQuery()
184
184
  const objectIDs = eventData.items.map((item) => atob(item.item_uid))
185
185
 
186
- const relevant = objectIDs.map((objectID) => mapping[objectID])
186
+ const relevant = objectIDs.map((objectID) => mapping[objectID]).filter(Boolean)
187
187
  const queryID = relevant?.[0]?.queryID
188
188
  const filters = [...new Set(...relevant.map((item) => item.filters))]
189
189
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/algolia-insights",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "9.0.1-canary.0",
5
+ "version": "9.0.1",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -15,15 +15,15 @@
15
15
  "generate": "tsx scripts/generate-insights-spec.mts"
16
16
  },
17
17
  "peerDependencies": {
18
- "@graphcommerce/algolia-products": "^9.0.1-canary.0",
19
- "@graphcommerce/google-datalayer": "^9.0.1-canary.0",
20
- "@graphcommerce/graphql": "^9.0.1-canary.0",
21
- "@graphcommerce/graphql-mesh": "^9.0.1-canary.0",
22
- "@graphcommerce/magento-customer": "^9.0.1-canary.0",
23
- "@graphcommerce/magento-product": "^9.0.1-canary.0",
24
- "@graphcommerce/next-config": "^9.0.1-canary.0",
25
- "@graphcommerce/next-ui": "^9.0.1-canary.0",
26
- "@graphcommerce/react-hook-form": "^9.0.1-canary.0",
18
+ "@graphcommerce/algolia-products": "^9.0.1",
19
+ "@graphcommerce/google-datalayer": "^9.0.1",
20
+ "@graphcommerce/graphql": "^9.0.1",
21
+ "@graphcommerce/graphql-mesh": "^9.0.1",
22
+ "@graphcommerce/magento-customer": "^9.0.1",
23
+ "@graphcommerce/magento-product": "^9.0.1",
24
+ "@graphcommerce/next-config": "^9.0.1",
25
+ "@graphcommerce/next-ui": "^9.0.1",
26
+ "@graphcommerce/react-hook-form": "^9.0.1",
27
27
  "@mui/material": "*",
28
28
  "react": "^18.2.0"
29
29
  },