@artisan-commerce/analytics-rn 0.2.0-canary.20 → 0.2.0-canary.22
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 +18 -0
- package/build/analytics-rn/src/lib/events/events.d.ts +4 -4
- package/build/analytics-rn/src/lib/events/geo/changeLocation/changeLocation.d.ts +1 -1
- package/build/analytics-rn/src/lib/events/geo/changeLocation/changeLocation.types.d.ts +4 -4
- package/build/analytics-rn/src/lib/events/geo/findLocation/findLocation.d.ts +1 -1
- package/build/analytics-rn/src/lib/events/geo/index.d.ts +4 -4
- package/build/analytics-rn/src/lib/events/geo/outOfCoverage/outOfCoverage.d.ts +1 -1
- package/build/analytics-rn/src/lib/events/geo/outOfCoverage/outOfCoverage.types.d.ts +2 -2
- package/build/analytics-rn/src/lib/events/geo/setLocation/setLocation.d.ts +1 -1
- package/build/analytics-rn/src/lib/events/geo/setLocation/setLocation.types.d.ts +2 -2
- package/build/main.bundle.js +1 -1
- package/build/report.json +1 -1
- package/package.json +2 -2
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.22](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/analytics-rn@0.2.0-canary.21...@artisan-commerce/analytics-rn@0.2.0-canary.22) (2021-06-07)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **analytics:** make geo event parameters optional ([1b63858](https://bitbucket.org/tradesystem/artisan_monorepo/commit/1b638580e984fe93ab49d474dde62376c15a14c0))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## [0.2.0-canary.21](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/analytics-rn@0.2.0-canary.20...@artisan-commerce/analytics-rn@0.2.0-canary.21) (2021-06-07)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* **global:** make geo event parameter optional and fix Facebook purchase event for react native ([ff3369d](https://bitbucket.org/tradesystem/artisan_monorepo/commit/ff3369dcc82736f1f3b0259ba796ffe37501be7d))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
6
24
|
## [0.2.0-canary.20](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/analytics-rn@0.2.0-canary.19...@artisan-commerce/analytics-rn@0.2.0-canary.20) (2021-06-04)
|
|
7
25
|
|
|
8
26
|
**Note:** Version bump only for package @artisan-commerce/analytics-rn
|
|
@@ -49,10 +49,10 @@ declare const events: {
|
|
|
49
49
|
logViewTracking: (params: import("./fulfillment/viewTracking/viewTracking.types").ViewTrackingParams) => void;
|
|
50
50
|
};
|
|
51
51
|
geo: {
|
|
52
|
-
logChangeLocation: (params
|
|
53
|
-
logFindLocation: (params
|
|
54
|
-
logOutOfCoverage: (params
|
|
55
|
-
logSetLocation: (params
|
|
52
|
+
logChangeLocation: (params?: import("./geo/changeLocation/changeLocation.types").ChangeLocationParams) => void;
|
|
53
|
+
logFindLocation: (params?: import("./geo/findLocation/findLocation.types").FindLocationParams) => void;
|
|
54
|
+
logOutOfCoverage: (params?: import("./geo/outOfCoverage/outOfCoverage.types").OutOfCoverageParams) => void;
|
|
55
|
+
logSetLocation: (params?: import("./geo/setLocation/setLocation.types").SetLocationParams) => void;
|
|
56
56
|
};
|
|
57
57
|
help: {
|
|
58
58
|
logRequestAssistance: (params: import("./help/requestAssistance/requestAssistance.types").RequestAssistanceParams) => void;
|
|
@@ -7,5 +7,5 @@ import { ChangeLocationParams } from "./changeLocation.types";
|
|
|
7
7
|
* @since 0.5.14
|
|
8
8
|
* @property {ChangeLocationParams} params ChangeLocation event parameters
|
|
9
9
|
*/
|
|
10
|
-
declare const logChangeLocation: (params
|
|
10
|
+
declare const logChangeLocation: (params?: ChangeLocationParams) => void;
|
|
11
11
|
export default logChangeLocation;
|
|
@@ -12,10 +12,10 @@ import { ChangeLocationParams as SegmentChangeLocationParams } from "../../../pr
|
|
|
12
12
|
* @property {number} nextLng New set user's longitude
|
|
13
13
|
*/
|
|
14
14
|
export interface ChangeLocationCommonParams {
|
|
15
|
-
previousLat
|
|
16
|
-
previousLng
|
|
17
|
-
nextLat
|
|
18
|
-
nextLng
|
|
15
|
+
previousLat?: number;
|
|
16
|
+
previousLng?: number;
|
|
17
|
+
nextLat?: number;
|
|
18
|
+
nextLng?: number;
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* changeLocation event params.
|
|
@@ -7,5 +7,5 @@ import { FindLocationParams } from "./findLocation.types";
|
|
|
7
7
|
* @since 0.5.14
|
|
8
8
|
* @property {FindLocationParams} params FindLocation event parameters
|
|
9
9
|
*/
|
|
10
|
-
declare const logFindLocation: (params
|
|
10
|
+
declare const logFindLocation: (params?: FindLocationParams) => void;
|
|
11
11
|
export default logFindLocation;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const events: {
|
|
2
|
-
logChangeLocation: (params
|
|
3
|
-
logFindLocation: (params
|
|
4
|
-
logOutOfCoverage: (params
|
|
5
|
-
logSetLocation: (params
|
|
2
|
+
logChangeLocation: (params?: import("./changeLocation/changeLocation.types").ChangeLocationParams) => void;
|
|
3
|
+
logFindLocation: (params?: import("./findLocation/findLocation.types").FindLocationParams) => void;
|
|
4
|
+
logOutOfCoverage: (params?: import("./outOfCoverage/outOfCoverage.types").OutOfCoverageParams) => void;
|
|
5
|
+
logSetLocation: (params?: import("./setLocation/setLocation.types").SetLocationParams) => void;
|
|
6
6
|
};
|
|
7
7
|
export default events;
|
|
@@ -7,5 +7,5 @@ import { OutOfCoverageParams } from "./outOfCoverage.types";
|
|
|
7
7
|
* @since 0.5.14
|
|
8
8
|
* @property {OutOfCoverageParams} params OutOfCoverage event parameters
|
|
9
9
|
*/
|
|
10
|
-
declare const logOutOfCoverage: (params
|
|
10
|
+
declare const logOutOfCoverage: (params?: OutOfCoverageParams) => void;
|
|
11
11
|
export default logOutOfCoverage;
|
|
@@ -10,8 +10,8 @@ import { OutOfCoverageParams as SegmentOutOfCoverageParams } from "../../../prov
|
|
|
10
10
|
* @property {number} lng longitude being searched
|
|
11
11
|
*/
|
|
12
12
|
export interface OutOfCoverageCommonParams {
|
|
13
|
-
lat
|
|
14
|
-
lng
|
|
13
|
+
lat?: number;
|
|
14
|
+
lng?: number;
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
17
|
* outOfCoverage event params.
|
|
@@ -7,5 +7,5 @@ import { SetLocationParams } from "./setLocation.types";
|
|
|
7
7
|
* @since 0.5.14
|
|
8
8
|
* @property {SetLocationParams} params SetLocation event parameters
|
|
9
9
|
*/
|
|
10
|
-
declare const logSetLocation: (params
|
|
10
|
+
declare const logSetLocation: (params?: SetLocationParams) => void;
|
|
11
11
|
export default logSetLocation;
|
|
@@ -10,8 +10,8 @@ import { SetLocationParams as SegmentSetLocationParams } from "../../../provider
|
|
|
10
10
|
* @property {number} lng the new set longitude
|
|
11
11
|
*/
|
|
12
12
|
export interface SetLocationCommonParams {
|
|
13
|
-
lat
|
|
14
|
-
lng
|
|
13
|
+
lat?: number;
|
|
14
|
+
lng?: number;
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
17
|
* setLocation event params.
|