@jay-framework/wix-cart 0.17.2 → 0.17.4

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.
@@ -533,6 +533,7 @@ function CartPageInteractive(_props, refs, viewStateSignals, _carryForward, cart
533
533
  refs.lineItems?.removeButton.onclick(({ viewState }) => {
534
534
  handleRemoveItem(viewState.lineItemId);
535
535
  });
536
+ cartContext.onItemAddedToCart(() => loadCart());
536
537
  loadCart();
537
538
  return {
538
539
  render: () => ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jay-framework/wix-cart",
3
- "version": "0.17.2",
3
+ "version": "0.17.4",
4
4
  "type": "module",
5
5
  "description": "Wix Cart/Ecom shared package for Jay Framework",
6
6
  "license": "Apache-2.0",
@@ -37,15 +37,15 @@
37
37
  "test": ":"
38
38
  },
39
39
  "dependencies": {
40
- "@jay-framework/component": "^0.17.2",
41
- "@jay-framework/fullstack-component": "^0.17.2",
42
- "@jay-framework/reactive": "^0.17.2",
43
- "@jay-framework/runtime": "^0.17.2",
44
- "@jay-framework/secure": "^0.17.2",
45
- "@jay-framework/stack-client-runtime": "^0.17.2",
46
- "@jay-framework/stack-server-runtime": "^0.17.2",
47
- "@jay-framework/wix-server-client": "^0.17.2",
48
- "@jay-framework/wix-utils": "^0.17.2",
40
+ "@jay-framework/component": "^0.17.4",
41
+ "@jay-framework/fullstack-component": "^0.17.4",
42
+ "@jay-framework/reactive": "^0.17.4",
43
+ "@jay-framework/runtime": "^0.17.4",
44
+ "@jay-framework/secure": "^0.17.4",
45
+ "@jay-framework/stack-client-runtime": "^0.17.4",
46
+ "@jay-framework/stack-server-runtime": "^0.17.4",
47
+ "@jay-framework/wix-server-client": "^0.17.4",
48
+ "@jay-framework/wix-utils": "^0.17.4",
49
49
  "@wix/ecom": "^1.0.1996",
50
50
  "@wix/sdk": "^1.21.5",
51
51
  "@wix/sdk-runtime": "^1.0.11"
@@ -54,9 +54,9 @@
54
54
  "@babel/core": "^7.23.7",
55
55
  "@babel/preset-env": "^7.23.8",
56
56
  "@babel/preset-typescript": "^7.23.3",
57
- "@jay-framework/compiler-jay-stack": "^0.17.2",
58
- "@jay-framework/jay-cli": "^0.17.2",
59
- "@jay-framework/vite-plugin": "^0.17.2",
57
+ "@jay-framework/compiler-jay-stack": "^0.17.4",
58
+ "@jay-framework/jay-cli": "^0.17.4",
59
+ "@jay-framework/vite-plugin": "^0.17.4",
60
60
  "@jay-framework/wix-dev-environment": "^0.6.12",
61
61
  "nodemon": "^3.0.3",
62
62
  "rimraf": "^5.0.5",