@mercurjs/vendor 2.2.1-canary.6 → 2.2.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.
@@ -75,7 +75,8 @@ var ProductListDataTable = () => {
75
75
  const { searchParams, raw } = useProductTableQuery({
76
76
  pageSize: PAGE_SIZE
77
77
  });
78
- const initialData = useLoaderData();
78
+ const loaderData = useLoaderData();
79
+ const initialData = searchParams.offset ? void 0 : loaderData;
79
80
  const { products, count, isLoading, isError, error } = useProducts(
80
81
  searchParams,
81
82
  {
package/dist/index.js CHANGED
@@ -2925,7 +2925,7 @@ function getRouteMap({
2925
2925
  {
2926
2926
  path: "",
2927
2927
  lazy: async () => {
2928
- const { productListLoader, ProductListPage } = await import("./products-UMVSB6XS.js");
2928
+ const { productListLoader, ProductListPage } = await import("./products-RYXTZFGT.js");
2929
2929
  return {
2930
2930
  Component: ProductListPage,
2931
2931
  loader: productListLoader
@@ -100,7 +100,7 @@ import "../chunk-FMFVTERD.js";
100
100
  import {
101
101
  ProductListPage,
102
102
  productListLoader
103
- } from "../chunk-FIOM6QJC.js";
103
+ } from "../chunk-YUQA6TUA.js";
104
104
  import "../chunk-3GSR455R.js";
105
105
  import "../chunk-S2VYK3YC.js";
106
106
  import "../chunk-BEPAXQMU.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ProductListPage,
3
3
  productListLoader
4
- } from "./chunk-FIOM6QJC.js";
4
+ } from "./chunk-YUQA6TUA.js";
5
5
  import "./chunk-3GSR455R.js";
6
6
  import "./chunk-S2VYK3YC.js";
7
7
  import "./chunk-BEPAXQMU.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mercurjs/vendor",
3
- "version": "2.2.1-canary.6",
3
+ "version": "2.2.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/mercurjs/mercur",
@@ -34,8 +34,8 @@
34
34
  "lint": "oxlint --max-warnings 0"
35
35
  },
36
36
  "dependencies": {
37
- "@mercurjs/dashboard-shared": "2.2.1-canary.6",
38
- "@mercurjs/client": "2.2.1-canary.6",
37
+ "@mercurjs/dashboard-shared": "2.2.1",
38
+ "@mercurjs/client": "2.2.1",
39
39
  "@ariakit/react": "^0.4.15",
40
40
  "@babel/runtime": "^8.0.0",
41
41
  "@dnd-kit/core": "^6.1.0",
@@ -88,8 +88,8 @@
88
88
  "tsup": "^8.0.2",
89
89
  "typescript": "5.9.3",
90
90
  "@medusajs/types": "2.17.2",
91
- "@mercurjs/core": "2.2.1-canary.6",
92
- "@mercurjs/dashboard-sdk": "2.2.1-canary.6",
93
- "@mercurjs/types": "2.2.1-canary.6"
91
+ "@mercurjs/core": "2.2.1",
92
+ "@mercurjs/dashboard-sdk": "2.2.1",
93
+ "@mercurjs/types": "2.2.1"
94
94
  }
95
95
  }