@artisan-commerce/analytics-web 0.1.0-canary.13 → 0.1.0-canary.15

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.
@@ -1,6 +1,18 @@
1
1
  import { Vendor } from "@artisan-commerce/types";
2
2
  import { AnalyticsMeta } from "../../types/common.types";
3
3
  import { AnalyticsProviderTypes } from "../../types/event.types";
4
+ /**
5
+ * Initial configuration that can be passed to initAnalytics method.
6
+ *
7
+ * @interface InitAnalyticsConfig
8
+ * @since 0.5.14
9
+ * @property {AnalyticsProviderTypes[]} providers Analytics providers instances that can be targeted to emit events
10
+ * @property {number} activeVendor The vendor that will emit the events
11
+ * @property {number[]|undefined} vendors List of vendors that can emit events if active
12
+ * @property {boolean} debug Debug mode
13
+ * @property {boolean} shareArtisanAnalytics Share e-commerce analytics with Trade
14
+ * @property {InitAnalyticsConfigMeta} meta Commerce's metadata
15
+ */
4
16
  export interface InitAnalyticsConfig {
5
17
  providers: AnalyticsProviderTypes[];
6
18
  activeVendor?: Vendor["id"];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@artisan-commerce/analytics-web",
3
3
  "description": "Artisan commerce analytics web library",
4
- "version": "0.1.0-canary.13",
4
+ "version": "0.1.0-canary.15",
5
5
  "main": "./build/main.bundle.js",
6
6
  "types": "./build/src/index.d.ts",
7
7
  "files": [
@@ -34,8 +34,8 @@
34
34
  "snake-case": "^3.0.4"
35
35
  },
36
36
  "devDependencies": {
37
- "@artisan-commerce/products": "0.8.2-canary.13",
38
- "@artisan-commerce/shopping-cart": "0.11.0-canary.13",
37
+ "@artisan-commerce/products": "0.8.2-canary.14",
38
+ "@artisan-commerce/shopping-cart": "0.11.0-canary.14",
39
39
  "@artisan-commerce/types": "0.13.0-canary.7",
40
40
  "@babel/core": "^7.10.5",
41
41
  "@babel/preset-env": "^7.10.4",
@@ -83,5 +83,5 @@
83
83
  "@artisan-commerce/products": "*",
84
84
  "@artisan-commerce/shopping-cart": "*"
85
85
  },
86
- "gitHead": "aa40561b5711469df4f123183eaab907ee7f2312"
86
+ "gitHead": "1b00a20f07f2ac71dd15cddcef0569d605ab268b"
87
87
  }