aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/util/analytics.ts
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-29 06:11:06 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-29 06:11:06 +0800
commitf4cc14f43862c639d2cf9f6e5359e4822f1bcacf (patch)
tree02d2d8e4e2851145053f0e3ee0dd0d353d0e3efa /packages/instant/src/util/analytics.ts
parentca894935f269a385f28e5d3a51720282ab403697 (diff)
downloaddexon-sol-tools-f4cc14f43862c639d2cf9f6e5359e4822f1bcacf.tar
dexon-sol-tools-f4cc14f43862c639d2cf9f6e5359e4822f1bcacf.tar.gz
dexon-sol-tools-f4cc14f43862c639d2cf9f6e5359e4822f1bcacf.tar.bz2
dexon-sol-tools-f4cc14f43862c639d2cf9f6e5359e4822f1bcacf.tar.lz
dexon-sol-tools-f4cc14f43862c639d2cf9f6e5359e4822f1bcacf.tar.xz
dexon-sol-tools-f4cc14f43862c639d2cf9f6e5359e4822f1bcacf.tar.zst
dexon-sol-tools-f4cc14f43862c639d2cf9f6e5359e4822f1bcacf.zip
QuoteFetchedVia -> QuoteFetchOrigin
Diffstat (limited to 'packages/instant/src/util/analytics.ts')
-rw-r--r--packages/instant/src/util/analytics.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/instant/src/util/analytics.ts b/packages/instant/src/util/analytics.ts
index b85c6cee2..c0ed8c638 100644
--- a/packages/instant/src/util/analytics.ts
+++ b/packages/instant/src/util/analytics.ts
@@ -2,7 +2,7 @@ import { BuyQuote } from '@0x/asset-buyer';
import { BigNumber } from '@0x/utils';
import * as _ from 'lodash';
-import { AffiliateInfo, Asset, Network, OrderSource, ProviderState, QuoteFetchedVia } from '../types';
+import { AffiliateInfo, Asset, Network, OrderSource, ProviderState, QuoteFetchOrigin } from '../types';
import { EventProperties, heapUtil } from './heap';
@@ -180,12 +180,12 @@ export const analytics = {
trackingEventFnWithPayload(EventNames.TOKEN_SELECTOR_CHOSE)(payload),
trackTokenSelectorSearched: (searchText: string) =>
trackingEventFnWithPayload(EventNames.TOKEN_SELECTOR_SEARCHED)({ searchText }),
- trackQuoteFetched: (buyQuote: BuyQuote, fetchedVia: QuoteFetchedVia) =>
+ trackQuoteFetched: (buyQuote: BuyQuote, fetchedVia: QuoteFetchOrigin) =>
trackingEventFnWithPayload(EventNames.QUOTE_FETCHED)({
...buyQuoteEventProperties(buyQuote),
fetchedVia,
}),
- trackQuoteError: (errorMessage: string, assetAmount: BigNumber, fetchedVia: QuoteFetchedVia) => {
+ trackQuoteError: (errorMessage: string, assetAmount: BigNumber, fetchedVia: QuoteFetchOrigin) => {
trackingEventFnWithPayload(EventNames.QUOTE_ERROR)({
errorMessage,
assetAmount: assetAmount.toString(),