flowrix 1.0.1-beta.83 → 1.0.1-beta.84

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/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "flowrix",
3
3
  "configKey": "flowrix",
4
- "version": "1.0.1-beta.83",
4
+ "version": "1.0.1-beta.84",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -2,7 +2,7 @@ import { defineStore } from "pinia";
2
2
  import { flowrixApi } from "../middleware/flowrix.js";
3
3
  import { useCheckoutStore } from "./Checkout.js";
4
4
  import { useRuntimeConfig } from "#imports";
5
- import { GTM_add_to_cart } from "../composables/useDataLayer.js";
5
+ import { GTM_add_to_cart, GTM_remove_from_cart } from "../composables/useDataLayer.js";
6
6
  export const useCartStore = defineStore("cart", {
7
7
  state: () => ({
8
8
  cart: {},
@@ -82,7 +82,6 @@ export const useCartStore = defineStore("cart", {
82
82
  };
83
83
  this.lastitem = response?.data.lastitem;
84
84
  GTM_add_to_cart(response?.data.lastitem);
85
- GTM_remove_from_cart(response?.data.lastitem);
86
85
  useCheckoutStore().saveToCheckoutSession({
87
86
  cart: response?.data,
88
87
  calculations: response?.data.calculations,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flowrix",
3
- "version": "1.0.1-beta.83",
3
+ "version": "1.0.1-beta.84",
4
4
  "description": "Plug-and-play Nuxt eCommerce cart powered by FLOWRiX. Subscription required.",
5
5
  "license": "MIT",
6
6
  "type": "module",