@graphcommerce/algolia-products 9.0.0-canary.105 → 9.0.0-canary.106

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,5 +1,11 @@
1
1
  # @graphcommerce/algolia-products
2
2
 
3
+ ## 9.0.0-canary.106
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2385](https://github.com/graphcommerce-org/graphcommerce/pull/2385) [`44f18b5`](https://github.com/graphcommerce-org/graphcommerce/commit/44f18b5a8986935728f7147d6f506dd1376fd594) - Added support for Adobe Commerce for Algolia. ([@paales](https://github.com/paales))
8
+
3
9
  ## 9.0.0-canary.105
4
10
 
5
11
  ## 9.0.0-canary.104
@@ -120,7 +120,7 @@ export function algoliaHitToMagentoProduct(
120
120
  hit: Algoliahit,
121
121
  storeConfig: GetStoreConfigReturn,
122
122
  customerGroup: number,
123
- ): ProductsItemsItem | null {
123
+ ): (ProductsItemsItem & { staged: boolean }) | null {
124
124
  const { objectID, additionalProperties } = hit
125
125
  if (!assertAdditional(additionalProperties)) return null
126
126
 
@@ -155,6 +155,7 @@ export function algoliaHitToMagentoProduct(
155
155
  }
156
156
 
157
157
  return {
158
+ staged: false,
158
159
  redirect_code: 0,
159
160
  __typename: algoliaTypeToTypename[type_id as keyof typeof algoliaTypeToTypename],
160
161
  uid: btoa(objectID),
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/algolia-products",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "9.0.0-canary.105",
5
+ "version": "9.0.0-canary.106",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -15,14 +15,14 @@
15
15
  "generate": "tsx scripts/generate-spec.mts"
16
16
  },
17
17
  "peerDependencies": {
18
- "@graphcommerce/google-datalayer": "^9.0.0-canary.105",
19
- "@graphcommerce/graphql": "^9.0.0-canary.105",
20
- "@graphcommerce/graphql-mesh": "^9.0.0-canary.105",
21
- "@graphcommerce/magento-customer": "^9.0.0-canary.105",
22
- "@graphcommerce/magento-product": "^9.0.0-canary.105",
23
- "@graphcommerce/magento-search": "^9.0.0-canary.105",
24
- "@graphcommerce/next-config": "^9.0.0-canary.105",
25
- "@graphcommerce/next-ui": "^9.0.0-canary.105",
18
+ "@graphcommerce/google-datalayer": "^9.0.0-canary.106",
19
+ "@graphcommerce/graphql": "^9.0.0-canary.106",
20
+ "@graphcommerce/graphql-mesh": "^9.0.0-canary.106",
21
+ "@graphcommerce/magento-customer": "^9.0.0-canary.106",
22
+ "@graphcommerce/magento-product": "^9.0.0-canary.106",
23
+ "@graphcommerce/magento-search": "^9.0.0-canary.106",
24
+ "@graphcommerce/next-config": "^9.0.0-canary.106",
25
+ "@graphcommerce/next-ui": "^9.0.0-canary.106",
26
26
  "react": "^18.2.0"
27
27
  },
28
28
  "devDependencies": {