@artisan-commerce/analytics-web 0.2.0-canary.95 → 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.
- package/dist/bundle.cjs.js +4 -5
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +4 -5
- package/dist/bundle.esm.js.map +1 -1
- package/dist/bundle.umd.js +4 -5
- package/dist/bundle.umd.js.map +1 -1
- package/package.json +4 -4
package/dist/bundle.cjs.js
CHANGED
|
@@ -54,7 +54,7 @@ State$1._instance = null;
|
|
|
54
54
|
|
|
55
55
|
var name = "@artisan-commerce/analytics-web";
|
|
56
56
|
var description = "Artisn commerce analytics web library";
|
|
57
|
-
var version = "0.2.0-canary.
|
|
57
|
+
var version = "0.2.0-canary.96";
|
|
58
58
|
var main = "./dist/bundle.cjs.js";
|
|
59
59
|
var module$1 = "./dist/bundle.esm.js";
|
|
60
60
|
var types = "./dist/bundle.d.ts";
|
|
@@ -87,9 +87,9 @@ var dependencies = {
|
|
|
87
87
|
"snake-case": "^3.0.4"
|
|
88
88
|
};
|
|
89
89
|
var devDependencies = {
|
|
90
|
-
"@artisan-commerce/products": "0.9.0-canary.
|
|
91
|
-
"@artisan-commerce/shopping-cart-core": "0.12.0-canary.
|
|
92
|
-
"@artisan-commerce/state": "0.3.0-canary.
|
|
90
|
+
"@artisan-commerce/products": "0.9.0-canary.61",
|
|
91
|
+
"@artisan-commerce/shopping-cart-core": "0.12.0-canary.92",
|
|
92
|
+
"@artisan-commerce/state": "0.3.0-canary.11",
|
|
93
93
|
"@artisan-commerce/types": "0.14.0-canary.39"
|
|
94
94
|
};
|
|
95
95
|
var peerDependencies = {
|
|
@@ -626,7 +626,6 @@ const initAnalytics = (config) => {
|
|
|
626
626
|
const isServer = typeof window === "undefined";
|
|
627
627
|
if (isServer)
|
|
628
628
|
return;
|
|
629
|
-
State().setState({ initialized: true });
|
|
630
629
|
const { initialized } = State().state;
|
|
631
630
|
if (initialized) {
|
|
632
631
|
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");
|