@exodus/analytics-validation 3.6.0 → 3.7.0

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/CHANGELOG.md CHANGED
@@ -3,6 +3,19 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.7.0](https://github.com/ExodusMovement/exodus/compare/@exodus/analytics-validation@3.6.1...@exodus/analytics-validation@3.7.0) (2026-09-28)
7
+
8
+ ### Features
9
+
10
+ - **analytics-validation:** add the rewards eligible balance default property ([#45984](https://github.com/ExodusMovement/exodus/issues/45984)) ([52f8b8a](https://github.com/ExodusMovement/exodus/commit/52f8b8a87cf3f194718362b58182f34f0289431c))
11
+ - **analytics-validation:** allow the Profile Rewards surface and entry point ([#45982](https://github.com/ExodusMovement/exodus/issues/45982)) ([3512954](https://github.com/ExodusMovement/exodus/commit/351295431d1a77330e0af3140f6e0d8068eb3be8))
12
+
13
+ ## [3.6.1](https://github.com/ExodusMovement/exodus/compare/@exodus/analytics-validation@3.6.0...@exodus/analytics-validation@3.6.1) (2026-09-27)
14
+
15
+ ### Bug Fixes
16
+
17
+ - **rewards:** preserve redemption details and extend analytics schemas ([#45832](https://github.com/ExodusMovement/exodus/issues/45832)) ([449a8aa](https://github.com/ExodusMovement/exodus/commit/449a8aaa512e22b91f5a4a99058b1187544760e1))
18
+
6
19
  ## [3.6.0](https://github.com/ExodusMovement/exodus/compare/@exodus/analytics-validation@3.5.0...@exodus/analytics-validation@3.6.0) (2026-09-24)
7
20
 
8
21
  ### Features
@@ -439,6 +439,10 @@
439
439
  "pay_rewards_cohort": {
440
440
  "type": "string",
441
441
  "enum": ["solana", "ethereum", "other_evm", "tron", "none"]
442
+ },
443
+ "rewards_eligible_balance_usd": {
444
+ "type": "number",
445
+ "minimum": 0
442
446
  }
443
447
  }
444
448
  }
package/lib/events.d.ts CHANGED
@@ -84,6 +84,7 @@ export type AnalyticsCommonProperties = {
84
84
  payRewardsJoined?: boolean
85
85
  payRewardsAvailable?: boolean
86
86
  payRewardsCohort?: "solana" | "ethereum" | "other_evm" | "tron" | "none"
87
+ rewardsEligibleBalanceUsd?: number
87
88
  }
88
89
 
89
90
  export type PredictionsProperties = {
@@ -1120,34 +1121,40 @@ export interface AnalyticsEventMap {
1120
1121
  invitation?: "new" | "existing"
1121
1122
  }
1122
1123
  "PayRewardsBannerView": {
1123
- surface?: "wallet_carousel" | "pay_home"
1124
+ surface?: "wallet_carousel" | "pay_home" | "profile"
1124
1125
  invitation?: "new" | "existing"
1126
+ stablecoinBalanceUsd?: number
1127
+ stablecoinAssets?: Array<string>
1125
1128
  }
1126
1129
  "PayRewardsDashboardView": {
1127
- entryPoint?: "pay_home_card" | "wallet_banner" | "onboarding" | "settings"
1130
+ entryPoint?: "pay_home_card" | "wallet_banner" | "onboarding" | "settings" | "profile"
1128
1131
  pointsTotal?: number
1129
1132
  pointsPending?: number
1130
1133
  canRedeem?: boolean
1131
1134
  }
1132
- "PayRewardsDisable": {}
1135
+ "PayRewardsDisable": {
1136
+ cashBalanceUsd?: number | null
1137
+ }
1133
1138
  "PayRewardsJoin": {
1134
- entryPoint?: "wallet_banner" | "pay_home_card" | "settings" | "dashboard_info" | "disable_sheet" | "cash_banner"
1139
+ entryPoint?: "wallet_banner" | "pay_home_card" | "settings" | "dashboard_info" | "disable_sheet" | "cash_banner" | "profile"
1135
1140
  introVariant?: "new_user" | "existing_pay_user"
1136
1141
  eligibleAssetCount?: number
1137
1142
  eligibleBalanceUsd?: number
1138
1143
  networkFeeUsd?: number | null
1139
1144
  feeReimbursementPoints?: number | null
1145
+ eligibleAssets?: Array<string>
1146
+ walletAgeDays?: number | null
1140
1147
  }
1141
1148
  "PayRewardsOnboardingDismiss": {
1142
1149
  stepName?: "welcome_preview" | "intro" | "store" | "benefits" | "join" | "welcome"
1143
1150
  dismissMethod?: "swipe_down" | "back" | "close" | "not_now"
1144
1151
  consentToggled?: boolean
1145
- entryPoint?: "wallet_banner" | "pay_home_card" | "settings" | "dashboard_info" | "disable_sheet" | "cash_banner"
1152
+ entryPoint?: "wallet_banner" | "pay_home_card" | "settings" | "dashboard_info" | "disable_sheet" | "cash_banner" | "profile"
1146
1153
  introVariant?: "new_user" | "existing_pay_user"
1147
1154
  }
1148
1155
  "PayRewardsOnboardingView": {
1149
1156
  stepName?: "welcome_preview" | "intro" | "store" | "benefits" | "join" | "welcome"
1150
- entryPoint?: "wallet_banner" | "pay_home_card" | "settings" | "dashboard_info" | "disable_sheet" | "cash_banner"
1157
+ entryPoint?: "wallet_banner" | "pay_home_card" | "settings" | "dashboard_info" | "disable_sheet" | "cash_banner" | "profile"
1151
1158
  introVariant?: "new_user" | "existing_pay_user"
1152
1159
  isInformational?: boolean
1153
1160
  resumed?: boolean
@@ -1161,12 +1168,12 @@ export interface AnalyticsEventMap {
1161
1168
  errorType?: "insufficient_points" | "conversion_disabled" | "network" | "other" | null
1162
1169
  }
1163
1170
  "PayRewardsTermsView": {
1164
- entryPoint?: "wallet_banner" | "pay_home_card" | "settings" | "dashboard_info" | "disable_sheet" | "cash_banner"
1171
+ entryPoint?: "wallet_banner" | "pay_home_card" | "settings" | "dashboard_info" | "disable_sheet" | "cash_banner" | "profile"
1165
1172
  }
1166
1173
  "PayRewardsWishlistSubmit": {
1167
1174
  storeSelected?: Array<string>
1168
1175
  wishlistSelected?: Array<string>
1169
- entryPoint?: "wallet_banner" | "pay_home_card" | "settings" | "dashboard_info" | "disable_sheet" | "cash_banner"
1176
+ entryPoint?: "wallet_banner" | "pay_home_card" | "settings" | "dashboard_info" | "disable_sheet" | "cash_banner" | "profile"
1170
1177
  introVariant?: "new_user" | "existing_pay_user"
1171
1178
  }
1172
1179
  "PayWithdrawAddressView": {
@@ -16,11 +16,20 @@
16
16
  "properties": {
17
17
  "surface": {
18
18
  "type": "string",
19
- "enum": ["wallet_carousel", "pay_home"]
19
+ "enum": ["wallet_carousel", "pay_home", "profile"]
20
20
  },
21
21
  "invitation": {
22
22
  "type": "string",
23
23
  "enum": ["new", "existing"]
24
+ },
25
+ "stablecoin_balance_usd": {
26
+ "type": "number"
27
+ },
28
+ "stablecoin_assets": {
29
+ "type": "array",
30
+ "items": {
31
+ "type": "string"
32
+ }
24
33
  }
25
34
  },
26
35
  "unevaluatedProperties": false
@@ -16,7 +16,7 @@
16
16
  "properties": {
17
17
  "entry_point": {
18
18
  "type": "string",
19
- "enum": ["pay_home_card", "wallet_banner", "onboarding", "settings"]
19
+ "enum": ["pay_home_card", "wallet_banner", "onboarding", "settings", "profile"]
20
20
  },
21
21
  "points_total": {
22
22
  "type": "number"
@@ -13,7 +13,11 @@
13
13
  ],
14
14
  "type": "object",
15
15
  "required": [],
16
- "properties": {},
16
+ "properties": {
17
+ "cash_balance_usd": {
18
+ "type": ["number", "null"]
19
+ }
20
+ },
17
21
  "unevaluatedProperties": false
18
22
  }
19
23
  },
@@ -22,7 +22,8 @@
22
22
  "settings",
23
23
  "dashboard_info",
24
24
  "disable_sheet",
25
- "cash_banner"
25
+ "cash_banner",
26
+ "profile"
26
27
  ]
27
28
  },
28
29
  "intro_variant": {
@@ -40,6 +41,15 @@
40
41
  },
41
42
  "fee_reimbursement_points": {
42
43
  "type": ["number", "null"]
44
+ },
45
+ "eligible_assets": {
46
+ "type": "array",
47
+ "items": {
48
+ "type": "string"
49
+ }
50
+ },
51
+ "wallet_age_days": {
52
+ "type": ["number", "null"]
43
53
  }
44
54
  },
45
55
  "unevaluatedProperties": false
@@ -33,7 +33,8 @@
33
33
  "settings",
34
34
  "dashboard_info",
35
35
  "disable_sheet",
36
- "cash_banner"
36
+ "cash_banner",
37
+ "profile"
37
38
  ]
38
39
  },
39
40
  "intro_variant": {
@@ -26,7 +26,8 @@
26
26
  "settings",
27
27
  "dashboard_info",
28
28
  "disable_sheet",
29
- "cash_banner"
29
+ "cash_banner",
30
+ "profile"
30
31
  ]
31
32
  },
32
33
  "intro_variant": {
@@ -22,7 +22,8 @@
22
22
  "settings",
23
23
  "dashboard_info",
24
24
  "disable_sheet",
25
- "cash_banner"
25
+ "cash_banner",
26
+ "profile"
26
27
  ]
27
28
  }
28
29
  },
@@ -34,7 +34,8 @@
34
34
  "settings",
35
35
  "dashboard_info",
36
36
  "disable_sheet",
37
- "cash_banner"
37
+ "cash_banner",
38
+ "profile"
38
39
  ]
39
40
  },
40
41
  "intro_variant": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/analytics-validation",
3
- "version": "3.6.0",
3
+ "version": "3.7.0",
4
4
  "type": "module",
5
5
  "description": "JSON schemas for analytics events, to prevent sensitive data from being sent up to the infamous cloud",
6
6
  "author": "Exodus Movement, Inc.",
@@ -56,5 +56,5 @@
56
56
  "access": "public",
57
57
  "provenance": false
58
58
  },
59
- "gitHead": "b050f5f6f7c57ca329ca7e7d15524c787c2f4ad7"
59
+ "gitHead": "b8322982fd5a472c8e557fc79dbfc68bc8720dd4"
60
60
  }