fleek-track-analytics 1.0.3 → 1.0.5
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/lib/event-map/event-data-types/notification-clicked.d.ts +3 -0
- package/lib/event-map/event-data-types/notification-clicked.js +3 -0
- package/lib/event-map/event-data-types/notification-clicked.js.map +1 -0
- package/lib/event-map/event-map.d.ts +6 -1
- package/lib/event-map/event-map.js +2 -0
- package/lib/event-map/event-map.js.map +1 -1
- package/package.json +3 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-clicked.js","sourceRoot":"","sources":["../../../src/event-map/event-data-types/notification-clicked.ts"],"names":[],"mappings":""}
|
|
@@ -2,6 +2,7 @@ import { IAddToCart } from './event-data-types/add-to-cart';
|
|
|
2
2
|
import { ICartViewed } from './event-data-types/cart-viewed';
|
|
3
3
|
import { ICheckoutClicked } from './event-data-types/checkout-clicked';
|
|
4
4
|
import { IHomeScreenViewed } from './event-data-types/home-screen-viewed';
|
|
5
|
+
import { INotificationClicked } from './event-data-types/notification-clicked';
|
|
5
6
|
import { IProductDetailPageViewed } from './event-data-types/product-detail-page-viewed';
|
|
6
7
|
import { IProductTileClicked } from './event-data-types/product-tile-clicked';
|
|
7
8
|
import { IShopifyCheckoutEvent } from './event-data-types/shopify-checkout';
|
|
@@ -15,7 +16,9 @@ export declare enum EVENT_NAMES {
|
|
|
15
16
|
CHECKOUT_CLICKED = "checkout_clicked",
|
|
16
17
|
SHOPIFY_CHECKOUT_LOADED = "shopify-checkout-loaded",
|
|
17
18
|
SHOPIFY_CHECKOUT_SUCCESS = "shopify-purchase-success",
|
|
18
|
-
SHOPIFY_CHECKIUT_STOCK_PROBLEM = "shopify-stock=problem"
|
|
19
|
+
SHOPIFY_CHECKIUT_STOCK_PROBLEM = "shopify-stock=problem",
|
|
20
|
+
NOTIFICATION_CLICKED = "notification_clicked",
|
|
21
|
+
CHAT_NOTIFICATION_CLICKED = "chat_notification_clicked"
|
|
19
22
|
}
|
|
20
23
|
export interface EVENT_MAP {
|
|
21
24
|
[EVENT_NAMES.HOME_SCREEN_VIEWED]: IHomeScreenViewed;
|
|
@@ -28,4 +31,6 @@ export interface EVENT_MAP {
|
|
|
28
31
|
[EVENT_NAMES.SHOPIFY_CHECKOUT_LOADED]: IShopifyCheckoutEvent;
|
|
29
32
|
[EVENT_NAMES.SHOPIFY_CHECKOUT_SUCCESS]: IShopifyCheckoutEvent;
|
|
30
33
|
[EVENT_NAMES.SHOPIFY_CHECKIUT_STOCK_PROBLEM]: IShopifyCheckoutEvent;
|
|
34
|
+
[EVENT_NAMES.NOTIFICATION_CLICKED]: INotificationClicked;
|
|
35
|
+
[EVENT_NAMES.CHAT_NOTIFICATION_CLICKED]: INotificationClicked;
|
|
31
36
|
}
|
|
@@ -13,5 +13,7 @@ var EVENT_NAMES;
|
|
|
13
13
|
EVENT_NAMES["SHOPIFY_CHECKOUT_LOADED"] = "shopify-checkout-loaded";
|
|
14
14
|
EVENT_NAMES["SHOPIFY_CHECKOUT_SUCCESS"] = "shopify-purchase-success";
|
|
15
15
|
EVENT_NAMES["SHOPIFY_CHECKIUT_STOCK_PROBLEM"] = "shopify-stock=problem";
|
|
16
|
+
EVENT_NAMES["NOTIFICATION_CLICKED"] = "notification_clicked";
|
|
17
|
+
EVENT_NAMES["CHAT_NOTIFICATION_CLICKED"] = "chat_notification_clicked";
|
|
16
18
|
})(EVENT_NAMES || (exports.EVENT_NAMES = EVENT_NAMES = {}));
|
|
17
19
|
//# sourceMappingURL=event-map.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event-map.js","sourceRoot":"","sources":["../../src/event-map/event-map.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"event-map.js","sourceRoot":"","sources":["../../src/event-map/event-map.ts"],"names":[],"mappings":";;;AASA,IAAY,WAaX;AAbD,WAAY,WAAW;IACrB,uDAAwC,CAAA;IACxC,4DAA6C,CAAA;IAC7C,wEAAyD,CAAA;IACzD,4DAA6C,CAAA;IAC7C,0CAA2B,CAAA;IAC3B,0CAA2B,CAAA;IAC3B,oDAAqC,CAAA;IACrC,kEAAmD,CAAA;IACnD,oEAAqD,CAAA;IACrD,uEAAwD,CAAA;IACxD,4DAA6C,CAAA;IAC7C,sEAAuD,CAAA;AACzD,CAAC,EAbW,WAAW,2BAAX,WAAW,QAatB"}
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fleek-track-analytics",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"types": "./lib/index.d.ts",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": "./lib/index.js",
|
|
8
8
|
"./react-native": "./lib/react-native/index.js",
|
|
9
9
|
"./lib/web": "./lib/web/index.js",
|
|
10
|
-
"./lib/node": "./lib/node/index.js"
|
|
10
|
+
"./lib/node": "./lib/node/index.js",
|
|
11
|
+
"./lib/segment-exports": "./lib/segment-exports"
|
|
11
12
|
},
|
|
12
13
|
"repository": {
|
|
13
14
|
"type": "git",
|