@artisan-commerce/analytics-rn 0.3.0-canary.19 → 0.3.0-canary.2
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 +0 -137
- package/build/analytics-rn/src/lib/events/shoppingCart/addProductToCart/addProductToCart.types.d.ts +0 -3
- package/build/analytics-rn/src/lib/events/shoppingCart/addProductToWishlist/addProductToWishlist.types.d.ts +0 -3
- package/build/analytics-rn/src/lib/events/shoppingCart/removeProductFromCart/removeProductFromCart.types.d.ts +0 -3
- package/build/analytics-rn/src/lib/events/shoppingCart/removeProductFromWishlist/removeProductFromWishlist.types.d.ts +0 -3
- package/build/analytics-rn/src/lib/events/shoppingCart/updateProductInCart/updateProductInCart.types.d.ts +1 -4
- package/build/analytics-rn/src/lib/events/shoppingCart/updateProductInWishlist/updateProductInWishlist.types.d.ts +0 -3
- package/build/analytics-rn/src/lib/providers/FacebookPixel/FacebookPixel.d.ts +0 -3
- package/build/analytics-rn/src/lib/providers/FacebookPixel/FacebookPixel.types.d.ts +0 -1
- package/build/main.bundle.js +9 -9
- package/build/report.json +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,143 +3,6 @@
|
|
|
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.3.0-canary.19](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/analytics-rn@0.3.0-canary.18...@artisan-commerce/analytics-rn@0.3.0-canary.19) (2021-09-28)
|
|
7
|
-
|
|
8
|
-
**Note:** Version bump only for package @artisan-commerce/analytics-rn
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
## [0.3.0-canary.18](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/analytics-rn@0.3.0-canary.17...@artisan-commerce/analytics-rn@0.3.0-canary.18) (2021-09-23)
|
|
15
|
-
|
|
16
|
-
**Note:** Version bump only for package @artisan-commerce/analytics-rn
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
## [0.3.0-canary.17](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/analytics-rn@0.3.0-canary.16...@artisan-commerce/analytics-rn@0.3.0-canary.17) (2021-09-21)
|
|
23
|
-
|
|
24
|
-
**Note:** Version bump only for package @artisan-commerce/analytics-rn
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
## [0.3.0-canary.16](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/analytics-rn@0.3.0-canary.15...@artisan-commerce/analytics-rn@0.3.0-canary.16) (2021-09-17)
|
|
31
|
-
|
|
32
|
-
**Note:** Version bump only for package @artisan-commerce/analytics-rn
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
## [0.3.0-canary.15](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/analytics-rn@0.3.0-canary.14...@artisan-commerce/analytics-rn@0.3.0-canary.15) (2021-09-17)
|
|
39
|
-
|
|
40
|
-
**Note:** Version bump only for package @artisan-commerce/analytics-rn
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
## [0.3.0-canary.14](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/analytics-rn@0.3.0-canary.13...@artisan-commerce/analytics-rn@0.3.0-canary.14) (2021-09-16)
|
|
47
|
-
|
|
48
|
-
**Note:** Version bump only for package @artisan-commerce/analytics-rn
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
## [0.3.0-canary.13](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/analytics-rn@0.3.0-canary.12...@artisan-commerce/analytics-rn@0.3.0-canary.13) (2021-09-02)
|
|
55
|
-
|
|
56
|
-
**Note:** Version bump only for package @artisan-commerce/analytics-rn
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
## [0.3.0-canary.12](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/analytics-rn@0.3.0-canary.11...@artisan-commerce/analytics-rn@0.3.0-canary.12) (2021-09-01)
|
|
63
|
-
|
|
64
|
-
**Note:** Version bump only for package @artisan-commerce/analytics-rn
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
## [0.3.0-canary.11](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/analytics-rn@0.3.0-canary.10...@artisan-commerce/analytics-rn@0.3.0-canary.11) (2021-09-01)
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
### Bug Fixes
|
|
74
|
-
|
|
75
|
-
* **analytics-rn:** replaced old fbsdk with the new fbsdk-next ([c20c2ac](https://bitbucket.org/tradesystem/artisn_sdk/commit/c20c2acc8a01f3a3215c2aaff8d7c9e2d963419b))
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
## [0.3.0-canary.10](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/analytics-rn@0.3.0-canary.9...@artisan-commerce/analytics-rn@0.3.0-canary.10) (2021-08-25)
|
|
80
|
-
|
|
81
|
-
**Note:** Version bump only for package @artisan-commerce/analytics-rn
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
## [0.3.0-canary.9](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/analytics-rn@0.3.0-canary.8...@artisan-commerce/analytics-rn@0.3.0-canary.9) (2021-08-25)
|
|
88
|
-
|
|
89
|
-
**Note:** Version bump only for package @artisan-commerce/analytics-rn
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
## [0.3.0-canary.8](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/analytics-rn@0.3.0-canary.7...@artisan-commerce/analytics-rn@0.3.0-canary.8) (2021-08-24)
|
|
96
|
-
|
|
97
|
-
**Note:** Version bump only for package @artisan-commerce/analytics-rn
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
## [0.3.0-canary.7](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/analytics-rn@0.3.0-canary.6...@artisan-commerce/analytics-rn@0.3.0-canary.7) (2021-08-23)
|
|
104
|
-
|
|
105
|
-
**Note:** Version bump only for package @artisan-commerce/analytics-rn
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
## [0.3.0-canary.6](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/analytics-rn@0.3.0-canary.5...@artisan-commerce/analytics-rn@0.3.0-canary.6) (2021-08-23)
|
|
112
|
-
|
|
113
|
-
**Note:** Version bump only for package @artisan-commerce/analytics-rn
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
## [0.3.0-canary.5](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/analytics-rn@0.3.0-canary.4...@artisan-commerce/analytics-rn@0.3.0-canary.5) (2021-08-16)
|
|
120
|
-
|
|
121
|
-
**Note:** Version bump only for package @artisan-commerce/analytics-rn
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
## [0.3.0-canary.4](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/analytics-rn@0.3.0-canary.3...@artisan-commerce/analytics-rn@0.3.0-canary.4) (2021-08-12)
|
|
128
|
-
|
|
129
|
-
**Note:** Version bump only for package @artisan-commerce/analytics-rn
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
## [0.3.0-canary.3](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/analytics-rn@0.3.0-canary.2...@artisan-commerce/analytics-rn@0.3.0-canary.3) (2021-08-12)
|
|
136
|
-
|
|
137
|
-
**Note:** Version bump only for package @artisan-commerce/analytics-rn
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
6
|
## [0.3.0-canary.2](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/analytics-rn@0.3.0-canary.1...@artisan-commerce/analytics-rn@0.3.0-canary.2) (2021-08-12)
|
|
144
7
|
|
|
145
8
|
**Note:** Version bump only for package @artisan-commerce/analytics-rn
|
package/build/analytics-rn/src/lib/events/shoppingCart/addProductToCart/addProductToCart.types.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { CartProduct, ShoppingCart, Store } from "@artisan-commerce/types";
|
|
2
|
-
import { PriceCategoryType } from "@artisan-commerce/types";
|
|
3
2
|
import { AddProductToCartParams as GoogleAddProductToCartParams } from "../../../providers/GoogleAnalytics/events/shoppingCart/addProductToCart/addProductToCart.types";
|
|
4
3
|
import { AddProductToCartParams as FacebookAddProductToCartParams } from "../../../providers/FacebookPixel/events/shoppingCart/addProductToCart/addProductToCart.types";
|
|
5
4
|
import { AddProductToCartParams as SegmentAddProductToCartParams } from "../../../providers/Segment/events/shoppingCart/addProductToCart/addProductToCart.types";
|
|
@@ -12,14 +11,12 @@ import { AddProductToCartParams as SegmentAddProductToCartParams } from "../../.
|
|
|
12
11
|
* @property {string} cartId Shopping cart identifier
|
|
13
12
|
* @property {string} cartName Shopping cart name
|
|
14
13
|
* @property {Store} store Store where the user is buying the product
|
|
15
|
-
* @property {PriceCategoryType} priceCategory The product price category identifier
|
|
16
14
|
*/
|
|
17
15
|
export interface AddProductToCartCommonParams {
|
|
18
16
|
product: CartProduct;
|
|
19
17
|
cartId: ShoppingCart["id"];
|
|
20
18
|
cartName?: ShoppingCart["name"];
|
|
21
19
|
store: Store;
|
|
22
|
-
priceCategory?: PriceCategoryType;
|
|
23
20
|
}
|
|
24
21
|
/**
|
|
25
22
|
* addProductToCart event params.
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { CartProduct, ShoppingCart } from "@artisan-commerce/types";
|
|
2
|
-
import { PriceCategoryType } from "@artisan-commerce/types";
|
|
3
2
|
import { AddProductToWishlistParams as GoogleAddProductToWishlistParams } from "../../../providers/GoogleAnalytics/events/shoppingCart/addProductToWishlist/addProductToWishlist.types";
|
|
4
3
|
import { AddProductToWishlistParams as FacebookAddProductToWishlistParams } from "../../../providers/FacebookPixel/events/shoppingCart/addProductToWishlist/addProductToWishlist.types";
|
|
5
4
|
import { AddProductToWishlistParams as SegmentAddProductToWishlistParams } from "../../../providers/Segment/events/shoppingCart/addProductToWishlist/addProductToWishlist.types";
|
|
@@ -10,12 +9,10 @@ import { AddProductToWishlistParams as SegmentAddProductToWishlistParams } from
|
|
|
10
9
|
* @since 0.5.14
|
|
11
10
|
* @property {CartProduct} product The product that was added to the wishlist
|
|
12
11
|
* @property {string} cartId Shopping cart identifier
|
|
13
|
-
* @property {PriceCategoryType} priceCategory The product price category identifier
|
|
14
12
|
*/
|
|
15
13
|
export interface AddProductToWishlistCommonParams {
|
|
16
14
|
product: CartProduct;
|
|
17
15
|
cartId: ShoppingCart["id"];
|
|
18
|
-
priceCategory?: PriceCategoryType;
|
|
19
16
|
}
|
|
20
17
|
/**
|
|
21
18
|
* addProductToWishlist event params.
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { CartProduct, ShoppingCart, Store } from "@artisan-commerce/types";
|
|
2
|
-
import { PriceCategoryType } from "@artisan-commerce/types";
|
|
3
2
|
import { RemoveProductFromCartParams as GoogleRemoveProductFromCartParams } from "../../../providers/GoogleAnalytics/events/shoppingCart/removeProductFromCart/removeProductFromCart.types";
|
|
4
3
|
import { RemoveProductFromCartParams as FacebookRemoveProductFromCartParams } from "../../../providers/FacebookPixel/events/shoppingCart/removeProductFromCart/removeProductFromCart.types";
|
|
5
4
|
import { RemoveProductFromCartParams as SegmentRemoveProductFromCartParams } from "../../../providers/Segment/events/shoppingCart/removeProductFromCart/removeProductFromCart.types";
|
|
@@ -12,14 +11,12 @@ import { RemoveProductFromCartParams as SegmentRemoveProductFromCartParams } fro
|
|
|
12
11
|
* @property {string} cartId Shopping cart identifier
|
|
13
12
|
* @property {string} cartName Shopping cart name
|
|
14
13
|
* @property {Store} store Store where the user is buying the product
|
|
15
|
-
* @property {PriceCategoryType} priceCategory The product price category identifier
|
|
16
14
|
*/
|
|
17
15
|
export interface RemoveProductFromCartCommonParams {
|
|
18
16
|
product: CartProduct;
|
|
19
17
|
cartId: ShoppingCart["id"];
|
|
20
18
|
cartName?: ShoppingCart["name"];
|
|
21
19
|
store: Store;
|
|
22
|
-
priceCategory?: PriceCategoryType;
|
|
23
20
|
}
|
|
24
21
|
/**
|
|
25
22
|
* removeProductFromCart event params.
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { CartProduct, ShoppingCart } from "@artisan-commerce/types";
|
|
2
|
-
import { PriceCategoryType } from "@artisan-commerce/types";
|
|
3
2
|
import { RemoveProductFromWishlistParams as GoogleRemoveProductFromWishlistParams } from "../../../providers/GoogleAnalytics/events/shoppingCart/removeProductFromWishlist/removeProductFromWishlist.types";
|
|
4
3
|
import { RemoveProductFromWishlistParams as FacebookRemoveProductFromWishlistParams } from "../../../providers/FacebookPixel/events/shoppingCart/removeProductFromWishlist/removeProductFromWishlist.types";
|
|
5
4
|
import { RemoveProductFromWishlistParams as SegmentRemoveProductFromWishlistParams } from "../../../providers/Segment/events/shoppingCart/removeProductFromWishlist/removeProductFromWishlist.types";
|
|
@@ -10,12 +9,10 @@ import { RemoveProductFromWishlistParams as SegmentRemoveProductFromWishlistPara
|
|
|
10
9
|
* @since 0.5.14
|
|
11
10
|
* @property {CartProduct} product The product that was removed from the wishlist
|
|
12
11
|
* @property {string} cartId Shopping cart identifier
|
|
13
|
-
* @property {PriceCategoryType} priceCategory The product price category identifier
|
|
14
12
|
*/
|
|
15
13
|
export interface RemoveProductFromWishlistCommonParams {
|
|
16
14
|
product: CartProduct;
|
|
17
15
|
cartId: ShoppingCart["id"];
|
|
18
|
-
priceCategory?: PriceCategoryType;
|
|
19
16
|
}
|
|
20
17
|
/**
|
|
21
18
|
* removeProductFromWishlist event params.
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { CartProduct, ShoppingCart, Store } from "@artisan-commerce/types";
|
|
2
|
-
import { PriceCategoryType } from "@artisan-commerce/types";
|
|
3
1
|
import { UpdateProductInCartParams as GoogleUpdateProductInCartParams } from "../../../providers/GoogleAnalytics/events/shoppingCart/updateProductInCart/updateProductInCart.types";
|
|
4
2
|
import { UpdateProductInCartParams as FacebookUpdateProductInCartParams } from "../../../providers/FacebookPixel/events/shoppingCart/updateProductInCart/updateProductInCart.types";
|
|
5
3
|
import { UpdateProductInCartParams as SegmentUpdateProductInCartParams } from "../../../providers/Segment/events/shoppingCart/updateProductInCart/updateProductInCart.types";
|
|
4
|
+
import { CartProduct, ShoppingCart, Store } from "@artisan-commerce/types";
|
|
6
5
|
/**
|
|
7
6
|
* updateProductInCart event interface
|
|
8
7
|
*
|
|
@@ -13,7 +12,6 @@ import { UpdateProductInCartParams as SegmentUpdateProductInCartParams } from ".
|
|
|
13
12
|
* @property {string} cartName Shopping cart name
|
|
14
13
|
* @property {Store} store Store where the user is buying the product
|
|
15
14
|
* @property {string[]} fields The updated fields names
|
|
16
|
-
* @property {PriceCategoryType} priceCategory The product price category identifier
|
|
17
15
|
*/
|
|
18
16
|
export interface UpdateProductInCartCommonParams {
|
|
19
17
|
product: CartProduct;
|
|
@@ -21,7 +19,6 @@ export interface UpdateProductInCartCommonParams {
|
|
|
21
19
|
cartName?: ShoppingCart["name"];
|
|
22
20
|
store: Store;
|
|
23
21
|
fields: string[];
|
|
24
|
-
priceCategory?: PriceCategoryType;
|
|
25
22
|
}
|
|
26
23
|
/**
|
|
27
24
|
* updateProductInCart event params.
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { CartProduct, ShoppingCart } from "@artisan-commerce/types";
|
|
2
|
-
import { PriceCategoryType } from "@artisan-commerce/types";
|
|
3
2
|
import { UpdateProductInWishlistParams as GoogleUpdateProductInWishlistParams } from "../../../providers/GoogleAnalytics/events/shoppingCart/updateProductInWishlist/updateProductInWishlist.types";
|
|
4
3
|
import { UpdateProductInWishlistParams as FacebookUpdateProductInWishlistParams } from "../../../providers/FacebookPixel/events/shoppingCart/updateProductInWishlist/updateProductInWishlist.types";
|
|
5
4
|
import { UpdateProductInWishlistParams as SegmentUpdateProductInWishlistParams } from "../../../providers/Segment/events/shoppingCart/updateProductInWishlist/updateProductInWishlist.types";
|
|
@@ -11,13 +10,11 @@ import { UpdateProductInWishlistParams as SegmentUpdateProductInWishlistParams }
|
|
|
11
10
|
* @property {CartProduct} product The product in the wishlist that was updated
|
|
12
11
|
* @property {string} cartId Shopping cart identifier
|
|
13
12
|
* @property {string[]} fields The updated fields names
|
|
14
|
-
* @property {PriceCategoryType} priceCategory The product price category identifier
|
|
15
13
|
*/
|
|
16
14
|
export interface UpdateProductInWishlistCommonParams {
|
|
17
15
|
product: CartProduct;
|
|
18
16
|
cartId: ShoppingCart["id"];
|
|
19
17
|
fields: string[];
|
|
20
|
-
priceCategory?: PriceCategoryType;
|
|
21
18
|
}
|
|
22
19
|
/**
|
|
23
20
|
* updateProductInWishlist event params.
|
|
@@ -11,7 +11,6 @@ import { FacebookPixelProviderConfig } from "./FacebookPixel.types";
|
|
|
11
11
|
declare class FacebookPixel extends AnalyticsProvider {
|
|
12
12
|
private readonly _version;
|
|
13
13
|
private _currency;
|
|
14
|
-
private _initializeIOSSDK;
|
|
15
14
|
/**
|
|
16
15
|
* Contructs a Facebook Pixel Provider
|
|
17
16
|
*
|
|
@@ -20,10 +19,8 @@ declare class FacebookPixel extends AnalyticsProvider {
|
|
|
20
19
|
* @param {Config} config provider configuration
|
|
21
20
|
*/
|
|
22
21
|
constructor(config: Config);
|
|
23
|
-
init(): void;
|
|
24
22
|
get version(): Config["version"];
|
|
25
23
|
get currency(): Config["currency"];
|
|
26
|
-
get initializeIOSSDK(): Config["initializeIOSSDK"];
|
|
27
24
|
/**
|
|
28
25
|
* @override
|
|
29
26
|
* @since 0.5.14
|
|
@@ -11,7 +11,6 @@ import { AnalyticsProviderConstructor } from "../AnalyticsProvider/AnalyticsProv
|
|
|
11
11
|
*/
|
|
12
12
|
export interface FacebookPixelProvider extends Omit<AnalyticsProviderConstructor, "type">, FacebookPixelProviderConfig {
|
|
13
13
|
version?: string;
|
|
14
|
-
initializeIOSSDK?: boolean;
|
|
15
14
|
}
|
|
16
15
|
/**
|
|
17
16
|
* Facebook Pixel Provider after instantiated configurable options.
|