Skip to content

Commit

Permalink
fix(analytics): changes from comments
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLeoB committed Sep 1, 2021
1 parent 1b62e30 commit ab3612a
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,12 @@ enum DepositMethod {
BANK_TRANSFER = 'BANK_TRANSFER'
}

enum LoginHelpClikedOrigin {
IDENTIFIER = 'IDENTIFIER',
PASSWORD = 'PASSWORD',
QR_CODe = 'QR_CODE'
}

enum SendReceive {
RECEIVE = 'RECEIVE',
SEND = 'SEND'
Expand Down Expand Up @@ -339,7 +345,7 @@ type LinkBankClickedPayload = BasePayload & {
}

type LoginHelpClickedPayload = BasePayload & {
origin: 'PASSWORD' | 'IDENTIFIER' | 'QR_CODE'
origin: LoginHelpClikedOrigin
site_redirect: 'WALLET' | 'EXCHANGE'
}

Expand Down Expand Up @@ -648,6 +654,7 @@ type AnalyticsProperties =
| ReceiveCurrencySelectedPayload
| ReceiveDetailsCopiedPayload
| RecoveryOptionSelectedPayload
| ResetAccountPayload
| SellAmountEnteredPayload
| SellAmountMaxClickedPayload
| SellAmountMinClickedPayload
Expand Down

0 comments on commit ab3612a

Please sign in to comment.