@wix/headless-stores 0.0.16 → 0.0.18
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.
|
@@ -15,8 +15,6 @@ export interface ActionsRenderProps {
|
|
|
15
15
|
onAddToCart: () => Promise<void>;
|
|
16
16
|
/** Function to buy now (clear cart, add product, proceed to checkout) */
|
|
17
17
|
onBuyNow: () => Promise<void>;
|
|
18
|
-
/** Function to open cart */
|
|
19
|
-
onOpenCart: () => void;
|
|
20
18
|
/** Whether add to cart is available */
|
|
21
19
|
canAddToCart: boolean;
|
|
22
20
|
/** Whether add to cart is currently loading */
|
|
@@ -15,8 +15,6 @@ export interface ActionsRenderProps {
|
|
|
15
15
|
onAddToCart: () => Promise<void>;
|
|
16
16
|
/** Function to buy now (clear cart, add product, proceed to checkout) */
|
|
17
17
|
onBuyNow: () => Promise<void>;
|
|
18
|
-
/** Function to open cart */
|
|
19
|
-
onOpenCart: () => void;
|
|
20
18
|
/** Whether add to cart is available */
|
|
21
19
|
canAddToCart: boolean;
|
|
22
20
|
/** Whether add to cart is currently loading */
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/headless-stores",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.18",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
|
+
"prebuild": "cd ../media && yarn build && cd ../ecom && yarn build",
|
|
6
7
|
"build": "npm run build:esm && npm run build:cjs",
|
|
7
8
|
"build:esm": "tsc -p tsconfig.json",
|
|
8
9
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -57,7 +58,7 @@
|
|
|
57
58
|
"@wix/auto_sdk_stores_read-only-variants-v-3": "^1.0.23",
|
|
58
59
|
"@wix/ecom": "^1.0.1238",
|
|
59
60
|
"@wix/essentials": "^0.1.22",
|
|
60
|
-
"@wix/headless-ecom": "^0.0.
|
|
61
|
+
"@wix/headless-ecom": "^0.0.5",
|
|
61
62
|
"@wix/headless-media": "^0.0.2",
|
|
62
63
|
"@wix/redirects": "^1.0.79",
|
|
63
64
|
"@wix/services-definitions": "^0.1.4",
|