@artisan-commerce/analytics-web 0.2.0-canary.64 → 0.2.0-canary.66

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.
@@ -35,7 +35,7 @@ const getState$2 = () => {
35
35
 
36
36
  var name = "@artisan-commerce/analytics-web";
37
37
  var description = "Artisn commerce analytics web library";
38
- var version = "0.2.0-canary.63";
38
+ var version = "0.2.0-canary.65";
39
39
  var main = "./dist/bundle.cjs.js";
40
40
  var module = "./dist/bundle.esm.js";
41
41
  var types = "./dist/bundle.d.ts";
@@ -76,9 +76,9 @@ var dependencies = {
76
76
  "snake-case": "^3.0.4"
77
77
  };
78
78
  var devDependencies = {
79
- "@artisan-commerce/products": "0.9.0-canary.40",
80
- "@artisan-commerce/shopping-cart": "0.12.0-canary.60",
81
- "@artisan-commerce/types": "0.14.0-canary.31"
79
+ "@artisan-commerce/products": "0.9.0-canary.41",
80
+ "@artisan-commerce/shopping-cart": "0.12.0-canary.62",
81
+ "@artisan-commerce/types": "0.14.0-canary.32"
82
82
  };
83
83
  var peerDependencies = {
84
84
  "@artisan-commerce/products": "*",
@@ -582,7 +582,7 @@ const initAnalytics = (config) => {
582
582
  setInitialState();
583
583
  const { initialized } = getState$1();
584
584
  if (initialized) {
585
- 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.", "warn");
585
+ 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");
586
586
  return;
587
587
  }
588
588
  const { providers, shareArtisnAnalytics } = config;
@@ -923,18 +923,19 @@ var __spreadValues$k$1 = (a, b) => {
923
923
  }
924
924
  return a;
925
925
  };
926
- const { DEFAULT_SHOPPING_CART_NAME: DEFAULT_SHOPPING_CART_NAME$3, DEFAULT_MAX_SHOPPING_CARTS } = CONSTANTS;
926
+ const { DEFAULT_SHOPPING_CART_NAME: DEFAULT_SHOPPING_CART_NAME$2, DEFAULT_MAX_SHOPPING_CARTS } = CONSTANTS;
927
927
  const initialState = {
928
928
  artisnApp: void 0,
929
929
  accountId: void 0,
930
930
  customerId: void 0,
931
- activeShoppingCart: DEFAULT_SHOPPING_CART_NAME$3,
931
+ activeShoppingCart: DEFAULT_SHOPPING_CART_NAME$2,
932
932
  maxShoppingCarts: DEFAULT_MAX_SHOPPING_CARTS,
933
933
  wallets: {},
934
934
  anonymous: false,
935
935
  initialized: false,
936
936
  queue: new ActionQueue(),
937
- eventLoop: new EventLoop()
937
+ eventLoop: new EventLoop(),
938
+ debug: false
938
939
  };
939
940
  Object.freeze(initialState);
940
941
  let state = __spreadValues$k$1({}, initialState);