@reactionary/feeds 0.10.45 → 0.10.46
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/cli.cjs +2 -2
- package/package.json +9 -9
package/cli.cjs
CHANGED
|
@@ -113404,7 +113404,7 @@ var init_order_search_factory2 = __esm({
|
|
|
113404
113404
|
pageNumber: (Math.ceil(data.offset / data.limit) || 0) + 1,
|
|
113405
113405
|
pageSize: data.limit,
|
|
113406
113406
|
totalCount: data.total || 0,
|
|
113407
|
-
totalPages: Math.ceil((data.total || 0) / data.limit
|
|
113407
|
+
totalPages: data.limit > 0 ? Math.ceil((data.total || 0) / data.limit) : 0,
|
|
113408
113408
|
items: data.results.map((order) => this.parseOrderSearchItem(context2, order))
|
|
113409
113409
|
};
|
|
113410
113410
|
return this.orderSearchResultSchema.parse(result);
|
|
@@ -113920,7 +113920,7 @@ var init_product_search_factory3 = __esm({
|
|
|
113920
113920
|
pageNumber: (Math.ceil(data.offset / data.limit) || 0) + 1,
|
|
113921
113921
|
pageSize: data.limit,
|
|
113922
113922
|
totalCount: data.total || 0,
|
|
113923
|
-
totalPages: Math.ceil((data.total || 0) / data.limit
|
|
113923
|
+
totalPages: data.limit > 0 ? Math.ceil((data.total || 0) / data.limit) : 0,
|
|
113924
113924
|
items,
|
|
113925
113925
|
facets
|
|
113926
113926
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reactionary/feeds",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.46",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"types": "./src/index.d.ts",
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
"url": "git+https://github.com/Solteq/reactionary.git"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@reactionary/algolia": "0.10.
|
|
16
|
-
"@reactionary/commercetools": "0.10.
|
|
17
|
-
"@reactionary/core": "0.10.
|
|
18
|
-
"@reactionary/fake": "0.10.
|
|
19
|
-
"@reactionary/magento": "0.10.
|
|
20
|
-
"@reactionary/medusa": "0.10.
|
|
21
|
-
"@reactionary/meilisearch": "0.10.
|
|
22
|
-
"@reactionary/unomi": "0.10.
|
|
15
|
+
"@reactionary/algolia": "0.10.46",
|
|
16
|
+
"@reactionary/commercetools": "0.10.46",
|
|
17
|
+
"@reactionary/core": "0.10.46",
|
|
18
|
+
"@reactionary/fake": "0.10.46",
|
|
19
|
+
"@reactionary/magento": "0.10.46",
|
|
20
|
+
"@reactionary/medusa": "0.10.46",
|
|
21
|
+
"@reactionary/meilisearch": "0.10.46",
|
|
22
|
+
"@reactionary/unomi": "0.10.46",
|
|
23
23
|
"commander": "^15.0.0",
|
|
24
24
|
"dotenv": "^17.2.2",
|
|
25
25
|
"sitemap": "^9.0.1",
|