All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Add
analytics.disable()to stop event collection and clear queued analytics events. (#303)
- Add optional
failure_reasonproperty toMMConnectPropertiesinschema.ts, attached by producers onmmconnect_wallet_action_failedandmmconnect_connection_failed. Mirrorsmetamask-sdk-analytics-api#31. (#290) - Add optional
error_code(integer) anderror_message_sample(string, max 200 chars) properties toMMConnectPropertiesinschema.ts. Producers attach them on the two*_failedevents as raw-code / sanitised-message companions tofailure_reason. Mirrorsmetamask-sdk-analytics-api#32. (#290)
- Removed
MobileSDKConnectV2Payload/MobileSDKConnectV2Propertiesfromschema.tsand theEventV2oneOf; themobile/sdk-connect-v2namespace has no emitters aftermetamask-mobile#27864andmetamask-mobile#28322, and the V2 endpoint is being updated to reject the namespace inmetamask-sdk-analytics-api#29. Internal types only — no change to the public API. - chore(analytics): drop MobileSDKConnectV2 types from generated schema (#274)
- use merged integration types in analytics (#223)
- BREAKING
MMConnectProperties.mmconnect_versionstype changed fromstringtoRecord<string, string>(#206)
- Added
v2/events/endpoint toschema.ts(#46)
- BREAKING Updated
analytics.tsto point towardsv2/eventsendpoint and update payload accordingly (#46)
- Add changelog formatting script (#44)
- Align package versions (#48)
- Initial release