diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-17 02:19:16 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-17 02:19:16 +0800 |
commit | 42565869a452fcf2f498a3ff396f76c43aadfa29 (patch) | |
tree | 728dc9b484969c28ba4ee199ff45627649a417a4 /packages/instant/src/util | |
parent | 85a99203d0e85698aaaee25cdbf516175f1cb6e0 (diff) | |
download | dexon-0x-contracts-42565869a452fcf2f498a3ff396f76c43aadfa29.tar dexon-0x-contracts-42565869a452fcf2f498a3ff396f76c43aadfa29.tar.gz dexon-0x-contracts-42565869a452fcf2f498a3ff396f76c43aadfa29.tar.bz2 dexon-0x-contracts-42565869a452fcf2f498a3ff396f76c43aadfa29.tar.lz dexon-0x-contracts-42565869a452fcf2f498a3ff396f76c43aadfa29.tar.xz dexon-0x-contracts-42565869a452fcf2f498a3ff396f76c43aadfa29.tar.zst dexon-0x-contracts-42565869a452fcf2f498a3ff396f76c43aadfa29.zip |
Report on git sha and npm version of build
Diffstat (limited to 'packages/instant/src/util')
-rw-r--r-- | packages/instant/src/util/analytics.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/instant/src/util/analytics.ts b/packages/instant/src/util/analytics.ts index ab8a86f04..e7a67bee5 100644 --- a/packages/instant/src/util/analytics.ts +++ b/packages/instant/src/util/analytics.ts @@ -30,8 +30,10 @@ export interface AnalyticsUserOptions { export interface AnalyticsEventOptions { embeddedHost?: string; embeddedUrl?: string; - networkId: number; - providerName: string; + networkId?: number; + providerName?: string; + gitSha?: string; + npmVersion?: string; } export const analytics = { addUserProperties: (properties: AnalyticsUserOptions): void => { |