@artisan-commerce/analytics-capacitor 0.1.0-canary.30 → 0.1.0-canary.31

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.
@@ -57,7 +57,7 @@ State$1._instance = null;
57
57
 
58
58
  var name = "@artisan-commerce/analytics-capacitor";
59
59
  var description = "Artisn commerce analytics capacitor library";
60
- var version = "0.1.0-canary.29";
60
+ var version = "0.1.0-canary.30";
61
61
  var main = "./dist/bundle.cjs.js";
62
62
  var module$1 = "./dist/bundle.esm.js";
63
63
  var types = "./dist/bundle.d.ts";
@@ -90,8 +90,8 @@ var dependencies = {
90
90
  "snake-case": "^3.0.4"
91
91
  };
92
92
  var devDependencies = {
93
- "@artisan-commerce/products": "0.9.0-canary.60",
94
- "@artisan-commerce/shopping-cart-core": "0.12.0-canary.91",
93
+ "@artisan-commerce/products": "0.9.0-canary.61",
94
+ "@artisan-commerce/shopping-cart-core": "0.12.0-canary.92",
95
95
  "@artisan-commerce/state": "0.3.0-canary.11",
96
96
  "@artisan-commerce/types": "0.14.0-canary.39",
97
97
  "@capacitor-firebase/analytics": "^1.3.0",
@@ -651,7 +651,6 @@ const initAnalytics = (config) => {
651
651
  const isServer = typeof window === "undefined";
652
652
  if (isServer)
653
653
  return;
654
- State().setState({ initialized: true });
655
654
  const { initialized } = State().state;
656
655
  if (initialized) {
657
656
  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");