core
core copied to clipboard
more metrics for swaps and bridge
Explanation
References
Checklist
- [ ] I've updated the test suite for new or updated code as appropriate
- [ ] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
- [ ] I've communicated my changes to consumers by updating changelogs for packages I've changed
- [ ] I've introduced breaking changes in this PR and have prepared draft pull requests for clients and consumer packages to resolve them
[!NOTE] Adds new
Asset Picker OpenedandAsset Selectedmetrics events and wires them into the bridge controller analytics pipeline.
- Metrics/Telemetry:
- Add new events in
utils/metrics/constants.ts:AssetPickerOpened,AssetSelected.- Extend
RequiredEventContextFromClientinutils/metrics/types.tswith payloads for the new events and include them inEventPropertiesFromControllerState.- Bridge Controller (
bridge-controller.ts):
- Handle
AssetPickerOpenedandAssetSelectedin#getEventProperties, returning base properties only.Written by Cursor Bugbot for commit 822d45bbebc481715f490e2601e1ec1945df89e3. This will update automatically on new commits. Configure here.