@artisan-commerce/analytics-web 0.1.0-canary.19 → 0.1.0-canary.20
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 +9 -0
- package/build/main.bundle.js +1 -1
- package/build/report.json +1 -1
- package/build/src/lib/providers/FacebookPixel/FacebookPixel.types.d.ts +1 -1
- package/build/src/lib/providers/FacebookPixel/events/category/searchCategoryAttempt/searchCategoryAttempt.types.d.ts +2 -0
- package/build/src/lib/providers/FacebookPixel/events/loyalty/spendPoints/spendPoints.types.d.ts +2 -0
- package/build/src/lib/providers/FacebookPixel/events/other/searchPageContent/searchPageContent.types.d.ts +2 -0
- package/package.json +2 -2
|
@@ -50,7 +50,7 @@ export declare namespace Fbq {
|
|
|
50
50
|
}
|
|
51
51
|
interface ControlParams {
|
|
52
52
|
}
|
|
53
|
-
type EventNames = "PageView" | "CompleteRegistration" | "FindLocation" | "Search" | "CustomizeProduct" | "InitiateCheckout" | "AddPaymentInfo" | "Schedule" | "Purchase" | "Lead" | "AddToCart" | "AddToWishlist" | "Contact";
|
|
53
|
+
type EventNames = "PageView" | "CompleteRegistration" | "FindLocation" | "Search" | "CustomizeProduct" | "InitiateCheckout" | "AddPaymentInfo" | "Schedule" | "Purchase" | "Lead" | "AddToCart" | "AddToWishlist" | "Contact" | "ViewContent" | "SpendCredits";
|
|
54
54
|
interface EventParams {
|
|
55
55
|
currency?: string;
|
|
56
56
|
value?: number;
|
|
@@ -9,6 +9,8 @@ import { FacebookPixelCustomEventParams } from "../../../FacebookPixel.types";
|
|
|
9
9
|
* @extends FacebookPixelCommonEventParams
|
|
10
10
|
* @extends FacebookPixelCustomEventParams
|
|
11
11
|
* @extends SearchCategoryAttemptCommonParams
|
|
12
|
+
* @property {string} contentType The type of products being sold (e.g. food)
|
|
12
13
|
*/
|
|
13
14
|
export interface SearchCategoryAttemptParams extends FacebookPixelCommonEventParams, FacebookPixelCustomEventParams, SearchCategoryAttemptCommonParams {
|
|
15
|
+
contentType?: string;
|
|
14
16
|
}
|
package/build/src/lib/providers/FacebookPixel/events/loyalty/spendPoints/spendPoints.types.d.ts
CHANGED
|
@@ -9,6 +9,8 @@ import { FacebookPixelCustomEventParams } from "../../../FacebookPixel.types";
|
|
|
9
9
|
* @extends FacebookPixelCommonEventParams
|
|
10
10
|
* @extends FacebookPixelCustomEventParams
|
|
11
11
|
* @extends SpendPointsCommonParams
|
|
12
|
+
* @property {string} contentType The type of products being sold (e.g. food)
|
|
12
13
|
*/
|
|
13
14
|
export interface SpendPointsParams extends FacebookPixelCommonEventParams, FacebookPixelCustomEventParams, SpendPointsCommonParams {
|
|
15
|
+
contentType?: string;
|
|
14
16
|
}
|
|
@@ -9,6 +9,8 @@ import { FacebookPixelCustomEventParams } from "../../../FacebookPixel.types";
|
|
|
9
9
|
* @extends FacebookPixelCommonEventParams
|
|
10
10
|
* @extends FacebookPixelCustomEventParams
|
|
11
11
|
* @extends SearchPageContentCommonParams
|
|
12
|
+
* @property {string} contentType The type of products being sold (e.g. food)
|
|
12
13
|
*/
|
|
13
14
|
export interface SearchPageContentParams extends FacebookPixelCommonEventParams, FacebookPixelCustomEventParams, SearchPageContentCommonParams {
|
|
15
|
+
contentType?: string;
|
|
14
16
|
}
|
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.
|
|
4
|
+
"version": "0.1.0-canary.20",
|
|
5
5
|
"main": "./build/main.bundle.js",
|
|
6
6
|
"types": "./build/src/index.d.ts",
|
|
7
7
|
"files": [
|
|
@@ -83,5 +83,5 @@
|
|
|
83
83
|
"@artisan-commerce/products": "*",
|
|
84
84
|
"@artisan-commerce/shopping-cart": "*"
|
|
85
85
|
},
|
|
86
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "a174ec8990ca327b18bd8d734c4ce6bca9cae0bb"
|
|
87
87
|
}
|