@wix/headless-stores 0.0.97 → 0.0.98
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.
|
@@ -27,7 +27,7 @@ export function getCustomLineItemCheckoutURLFactory(factoryOpts) {
|
|
|
27
27
|
price: factoryOpts.price,
|
|
28
28
|
quantity: factoryOpts.quantity || 1,
|
|
29
29
|
itemType: {
|
|
30
|
-
preset: checkout.
|
|
30
|
+
preset: checkout.ItemTypePreset.PHYSICAL,
|
|
31
31
|
},
|
|
32
32
|
priceDescription: {
|
|
33
33
|
original: factoryOpts.priceDescription,
|
|
@@ -192,7 +192,7 @@ const fetchMissingVariants = async (products) => {
|
|
|
192
192
|
}
|
|
193
193
|
const items = [];
|
|
194
194
|
const res = await readOnlyVariantsV3
|
|
195
|
-
.queryVariants(
|
|
195
|
+
.queryVariants()
|
|
196
196
|
.in('productData.productId', productIds)
|
|
197
197
|
.limit(DEFAULT_QUERY_LIMIT)
|
|
198
198
|
.find();
|
|
@@ -27,7 +27,7 @@ export function getCustomLineItemCheckoutURLFactory(factoryOpts) {
|
|
|
27
27
|
price: factoryOpts.price,
|
|
28
28
|
quantity: factoryOpts.quantity || 1,
|
|
29
29
|
itemType: {
|
|
30
|
-
preset: checkout.
|
|
30
|
+
preset: checkout.ItemTypePreset.PHYSICAL,
|
|
31
31
|
},
|
|
32
32
|
priceDescription: {
|
|
33
33
|
original: factoryOpts.priceDescription,
|
|
@@ -192,7 +192,7 @@ const fetchMissingVariants = async (products) => {
|
|
|
192
192
|
}
|
|
193
193
|
const items = [];
|
|
194
194
|
const res = await readOnlyVariantsV3
|
|
195
|
-
.queryVariants(
|
|
195
|
+
.queryVariants()
|
|
196
196
|
.in('productData.productId', productIds)
|
|
197
197
|
.limit(DEFAULT_QUERY_LIMIT)
|
|
198
198
|
.find();
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/headless-stores",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.98",
|
|
4
|
+
"license": "MIT",
|
|
4
5
|
"type": "module",
|
|
5
6
|
"scripts": {
|
|
6
7
|
"prebuild": "cd ../media && yarn build && cd ../ecom && yarn build",
|
|
@@ -47,6 +48,8 @@
|
|
|
47
48
|
"@testing-library/react": "^16.3.0",
|
|
48
49
|
"@types/node": "^20.9.0",
|
|
49
50
|
"@vitest/ui": "^3.1.4",
|
|
51
|
+
"@wix/categories": "^1.0.133",
|
|
52
|
+
"@wix/stores": "^1.0.551",
|
|
50
53
|
"jsdom": "^26.1.0",
|
|
51
54
|
"prettier": "^3.4.2",
|
|
52
55
|
"typescript": "^5.8.3",
|
|
@@ -60,16 +63,27 @@
|
|
|
60
63
|
"@wix/auto_sdk_stores_inventory-items-v-3": "^1.0.26",
|
|
61
64
|
"@wix/auto_sdk_stores_products-v-3": "^1.0.53",
|
|
62
65
|
"@wix/auto_sdk_stores_read-only-variants-v-3": "^1.0.23",
|
|
63
|
-
"@wix/ecom": "^1.0.
|
|
66
|
+
"@wix/ecom": "^1.0.1461",
|
|
64
67
|
"@wix/essentials": "^0.1.24",
|
|
65
|
-
"@wix/headless-ecom": "0.0.
|
|
66
|
-
"@wix/headless-media": "0.0.
|
|
67
|
-
"@wix/headless-utils": "0.0.
|
|
68
|
+
"@wix/headless-ecom": "0.0.33",
|
|
69
|
+
"@wix/headless-media": "0.0.16",
|
|
70
|
+
"@wix/headless-utils": "0.0.5",
|
|
68
71
|
"@wix/redirects": "^1.0.83",
|
|
69
72
|
"@wix/services-definitions": "^0.1.4",
|
|
70
73
|
"@wix/services-manager-react": "^0.1.26"
|
|
71
74
|
},
|
|
72
75
|
"peerDependencies": {
|
|
73
|
-
"@wix/headless-components": "
|
|
74
|
-
}
|
|
76
|
+
"@wix/headless-components": "workspace:*"
|
|
77
|
+
},
|
|
78
|
+
"publishConfig": {
|
|
79
|
+
"registry": "https://registry.npmjs.org/",
|
|
80
|
+
"access": "public"
|
|
81
|
+
},
|
|
82
|
+
"wix": {
|
|
83
|
+
"artifact": {
|
|
84
|
+
"artifactId": "headless-stores",
|
|
85
|
+
"groupId": "com.wixpress.headless-components"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"falconPackageHash": "10c01c3160e68c6f31d6a3ed99151913dc2f15f2101899482c166618"
|
|
75
89
|
}
|