@artisan-commerce/analytics-web 0.2.0-canary.96 → 0.2.0-canary.97

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.
@@ -50,7 +50,7 @@ State$1._instance = null;
50
50
 
51
51
  var name = "@artisan-commerce/analytics-web";
52
52
  var description = "Artisn commerce analytics web library";
53
- var version = "0.2.0-canary.95";
53
+ var version = "0.2.0-canary.96";
54
54
  var main = "./dist/bundle.cjs.js";
55
55
  var module = "./dist/bundle.esm.js";
56
56
  var types = "./dist/bundle.d.ts";
@@ -83,8 +83,8 @@ var dependencies = {
83
83
  "snake-case": "^3.0.4"
84
84
  };
85
85
  var devDependencies = {
86
- "@artisan-commerce/products": "0.9.0-canary.60",
87
- "@artisan-commerce/shopping-cart-core": "0.12.0-canary.91",
86
+ "@artisan-commerce/products": "0.9.0-canary.61",
87
+ "@artisan-commerce/shopping-cart-core": "0.12.0-canary.92",
88
88
  "@artisan-commerce/state": "0.3.0-canary.11",
89
89
  "@artisan-commerce/types": "0.14.0-canary.39"
90
90
  };
@@ -622,7 +622,6 @@ const initAnalytics = (config) => {
622
622
  const isServer = typeof window === "undefined";
623
623
  if (isServer)
624
624
  return;
625
- State().setState({ initialized: true });
626
625
  const { initialized } = State().state;
627
626
  if (initialized) {
628
627
  logMessage("initAnalytics has been called more than once. This behaviour will very likely result in unexpected outcomes so its call was skipped. Please make sure initAnalytics is only called once.", "debug");