@graphcommerce/magento-product 9.0.0-canary.89 → 9.0.0-canary.93

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,17 @@
1
1
  # Change Log
2
2
 
3
+ ## 9.0.0-canary.93
4
+
5
+ ## 9.0.0-canary.92
6
+
7
+ ## 9.0.0-canary.91
8
+
9
+ ### Patch Changes
10
+
11
+ - [#2367](https://github.com/graphcommerce-org/graphcommerce/pull/2367) [`71d412d`](https://github.com/graphcommerce-org/graphcommerce/commit/71d412d202bc94a0e676745547de5d809a7a850b) - When a user access a category page which is beyond the available total_pages, the user will be redirected to the last available page. ([@paales](https://github.com/paales))
12
+
13
+ ## 9.0.0-canary.90
14
+
3
15
  ## 9.0.0-canary.89
4
16
 
5
17
  ## 9.0.0-canary.88
@@ -2,9 +2,13 @@ query ProductFilters(
2
2
  $filters: ProductAttributeFilterInput = {}
3
3
  $search: String
4
4
  $context: InContextInput
5
+ $pageSize: Int = 1
5
6
  ) {
6
- filters: products(filter: $filters, currentPage: 1, pageSize: 1, search: $search)
7
+ filters: products(filter: $filters, currentPage: 1, pageSize: $pageSize, search: $search)
7
8
  @inContext(context: $context) {
9
+ page_info {
10
+ total_pages
11
+ }
8
12
  ...ProductListFilters
9
13
  }
10
14
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-product",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "9.0.0-canary.89",
5
+ "version": "9.0.0-canary.93",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -18,18 +18,18 @@
18
18
  "typescript": "5.5.3"
19
19
  },
20
20
  "peerDependencies": {
21
- "@graphcommerce/ecommerce-ui": "^9.0.0-canary.89",
22
- "@graphcommerce/eslint-config-pwa": "^9.0.0-canary.89",
23
- "@graphcommerce/framer-next-pages": "^9.0.0-canary.89",
24
- "@graphcommerce/framer-scroller": "^9.0.0-canary.89",
25
- "@graphcommerce/graphql": "^9.0.0-canary.89",
26
- "@graphcommerce/graphql-mesh": "^9.0.0-canary.89",
27
- "@graphcommerce/image": "^9.0.0-canary.89",
28
- "@graphcommerce/magento-cart": "^9.0.0-canary.89",
29
- "@graphcommerce/magento-store": "^9.0.0-canary.89",
30
- "@graphcommerce/next-ui": "^9.0.0-canary.89",
31
- "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.89",
32
- "@graphcommerce/typescript-config-pwa": "^9.0.0-canary.89",
21
+ "@graphcommerce/ecommerce-ui": "^9.0.0-canary.93",
22
+ "@graphcommerce/eslint-config-pwa": "^9.0.0-canary.93",
23
+ "@graphcommerce/framer-next-pages": "^9.0.0-canary.93",
24
+ "@graphcommerce/framer-scroller": "^9.0.0-canary.93",
25
+ "@graphcommerce/graphql": "^9.0.0-canary.93",
26
+ "@graphcommerce/graphql-mesh": "^9.0.0-canary.93",
27
+ "@graphcommerce/image": "^9.0.0-canary.93",
28
+ "@graphcommerce/magento-cart": "^9.0.0-canary.93",
29
+ "@graphcommerce/magento-store": "^9.0.0-canary.93",
30
+ "@graphcommerce/next-ui": "^9.0.0-canary.93",
31
+ "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.93",
32
+ "@graphcommerce/typescript-config-pwa": "^9.0.0-canary.93",
33
33
  "@lingui/core": "^4.2.1",
34
34
  "@lingui/macro": "^4.2.1",
35
35
  "@lingui/react": "^4.2.1",