@artisan-commerce/analytics-rn 0.2.0-canary.10 → 0.2.0-canary.12

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,22 @@
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.12](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/analytics-rn@0.2.0-canary.11...@artisan-commerce/analytics-rn@0.2.0-canary.12) (2021-05-07)
7
+
8
+ **Note:** Version bump only for package @artisan-commerce/analytics-rn
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.2.0-canary.11](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/analytics-rn@0.2.0-canary.10...@artisan-commerce/analytics-rn@0.2.0-canary.11) (2021-05-05)
15
+
16
+ **Note:** Version bump only for package @artisan-commerce/analytics-rn
17
+
18
+
19
+
20
+
21
+
6
22
  ## [0.2.0-canary.10](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/analytics-rn@0.2.0-canary.9...@artisan-commerce/analytics-rn@0.2.0-canary.10) (2021-05-05)
7
23
 
8
24
  **Note:** Version bump only for package @artisan-commerce/analytics-rn
@@ -7,6 +7,3 @@ export * from "./lib/providers/GoogleAnalytics/GoogleAnalytics.types";
7
7
  export { default as events } from "./lib/events/events";
8
8
  export * from "./types/common.types";
9
9
  export { updateActiveVendor } from "./utils/state.utils";
10
- export declare const utils: {
11
- getState: () => import("./types/state.types").GlobalState;
12
- };
@@ -1,7 +1,8 @@
1
1
  import { Vendor } from "@artisan-commerce/types";
2
2
  import { AnalyticsMeta } from "../../types/common.types";
3
+ import AnalyticsProvider from "../providers/AnalyticsProvider/AnalyticsProvider";
3
4
  export interface InitAnalyticsConfig {
4
- providers: any[];
5
+ providers: AnalyticsProvider[];
5
6
  activeVendor?: Vendor["id"];
6
7
  vendors: Vendor["id"][] | undefined;
7
8
  debug?: boolean;
@@ -199,7 +199,6 @@ export interface ProvidersHandlers<T> {
199
199
  * Shared params across every event.
200
200
  *
201
201
  * @interface EventCommonParams
202
- * @author Luis Eduardo Andrade
203
202
  * @since 0.5.14
204
203
  * @property {string} userId The unique identifier of a user across platforms
205
204
  * @property {boolean} isAnonymous Whether the user is registered or not
@@ -9,4 +9,4 @@ export declare const setState: (state: Partial<GlobalState>) => void;
9
9
  * @since 0.5.14
10
10
  * @param {Vendor|number} vendor New active vendor
11
11
  */
12
- export declare const updateActiveVendor: (vendor: Vendor | Vendor["id"]) => void;
12
+ export declare const updateActiveVendor: (vendor: Vendor | Vendor["id"] | undefined) => void;