aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/util/heap.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-11-26 23:08:57 +0800
committerFabio Berger <me@fabioberger.com>2018-11-26 23:08:57 +0800
commit420a677828ed102b7980e9b18911885e0ecb08e8 (patch)
tree712034da6837333a4a584ced6866c1223541aa08 /packages/instant/src/util/heap.ts
parent9da43878b169226e628ad2ea834e0fab78d5909b (diff)
parent2648f5ba654ccc22d96a0755c0a24ef628054d02 (diff)
downloaddexon-sol-tools-420a677828ed102b7980e9b18911885e0ecb08e8.tar
dexon-sol-tools-420a677828ed102b7980e9b18911885e0ecb08e8.tar.gz
dexon-sol-tools-420a677828ed102b7980e9b18911885e0ecb08e8.tar.bz2
dexon-sol-tools-420a677828ed102b7980e9b18911885e0ecb08e8.tar.lz
dexon-sol-tools-420a677828ed102b7980e9b18911885e0ecb08e8.tar.xz
dexon-sol-tools-420a677828ed102b7980e9b18911885e0ecb08e8.tar.zst
dexon-sol-tools-420a677828ed102b7980e9b18911885e0ecb08e8.zip
merge development
Diffstat (limited to 'packages/instant/src/util/heap.ts')
-rw-r--r--packages/instant/src/util/heap.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/instant/src/util/heap.ts b/packages/instant/src/util/heap.ts
index 78ec3b3cc..7c53c9918 100644
--- a/packages/instant/src/util/heap.ts
+++ b/packages/instant/src/util/heap.ts
@@ -6,11 +6,13 @@ import { HEAP_ANALYTICS_ID } from '../constants';
import { AnalyticsEventOptions, AnalyticsUserOptions } from './analytics';
+export type EventProperties = ObjectMap<string | number>;
+
export interface HeapAnalytics {
loaded: boolean;
appid: string;
identify(id: string, idType: string): void;
- track(eventName: string, eventProperties?: ObjectMap<string | number>): void;
+ track(eventName: string, eventProperties?: EventProperties): void;
resetIdentity(): void;
addUserProperties(properties: AnalyticsUserOptions): void;
addEventProperties(properties: AnalyticsEventOptions): void;