@exodus/analytics-validation 2.73.0 → 2.74.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 +4 -0
- package/lib/events.d.ts +7 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
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
|
+
## [2.74.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.73.0...@exodus/analytics-validation@2.74.0) (2026-05-14)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @exodus/analytics-validation
|
|
9
|
+
|
|
6
10
|
## [2.73.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.72.0...@exodus/analytics-validation@2.73.0) (2026-05-12)
|
|
7
11
|
|
|
8
12
|
### Features
|
package/lib/events.d.ts
CHANGED
|
@@ -1563,6 +1563,10 @@ export type AnalyticsEventName = keyof AnalyticsEventMap
|
|
|
1563
1563
|
export type AnalyticsEventProperties<E extends AnalyticsEventName> =
|
|
1564
1564
|
AnalyticsEventMap[E] & AnalyticsCommonProperties
|
|
1565
1565
|
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1566
|
+
type RequiredKeys<T> = { [K in keyof T]-?: ({} extends Pick<T, K> ? never : K) }[keyof T]
|
|
1567
|
+
|
|
1568
|
+
export type AnalyticsEventPayload<E extends string = string> = E extends AnalyticsEventName
|
|
1569
|
+
? RequiredKeys<AnalyticsEventProperties<E>> extends never
|
|
1570
|
+
? { event: E; properties?: AnalyticsEventProperties<E> }
|
|
1571
|
+
: { event: E; properties: AnalyticsEventProperties<E> }
|
|
1572
|
+
: { event: E; properties?: AnalyticsCommonProperties }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/analytics-validation",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.74.0",
|
|
4
4
|
"description": "JSON schemas for analytics events, to prevent sensitive data from being sent up to the infamous cloud",
|
|
5
5
|
"author": "Exodus Movement, Inc.",
|
|
6
6
|
"repository": {
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"access": "public",
|
|
53
53
|
"provenance": false
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "086483fce1881db41436f43b59884735f45efd0b"
|
|
56
56
|
}
|