@artisan-commerce/analytics-rn 0.2.0-canary.17 → 0.2.0-canary.19

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/CHANGELOG.md CHANGED
@@ -3,6 +3,24 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.2.0-canary.19](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/analytics-rn@0.2.0-canary.18...@artisan-commerce/analytics-rn@0.2.0-canary.19) (2021-05-28)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **analytics-rn:** fix typo in setPaymentInfo event name for segment ([ba1fe45](https://bitbucket.org/tradesystem/artisan_monorepo/commit/ba1fe45bdff4754b112360a5ca61a2f9dc004570))
12
+
13
+
14
+
15
+ ## [0.2.0-canary.18](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/analytics-rn@0.2.0-canary.17...@artisan-commerce/analytics-rn@0.2.0-canary.18) (2021-05-28)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * **analytics-web:** add analytics scripts to the document's head ([243ec79](https://bitbucket.org/tradesystem/artisan_monorepo/commit/243ec790ae0d995e14498b5fb042af0251913267))
21
+
22
+
23
+
6
24
  ## [0.2.0-canary.17](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/analytics-rn@0.2.0-canary.16...@artisan-commerce/analytics-rn@0.2.0-canary.17) (2021-05-28)
7
25
 
8
26
 
@@ -1,6 +1,17 @@
1
1
  import { Vendor } from "@artisan-commerce/types";
2
2
  import { AnalyticsMeta } from "../../types/common.types";
3
3
  import AnalyticsProvider from "../providers/AnalyticsProvider/AnalyticsProvider";
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 {InitAnalyticsConfigMeta} meta Commerce's metadata
14
+ */
4
15
  export interface InitAnalyticsConfig {
5
16
  providers: AnalyticsProvider[];
6
17
  activeVendor?: Vendor["id"];