Skip to content

Latest commit

 

History

History
73 lines (42 loc) · 3.71 KB

File metadata and controls

73 lines (42 loc) · 3.71 KB

Changelog

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.

Added

  • Add analytics.disable() to stop event collection and clear queued analytics events. (#303)

Added

  • Add optional failure_reason property to MMConnectProperties in schema.ts, attached by producers on mmconnect_wallet_action_failed and mmconnect_connection_failed. Mirrors metamask-sdk-analytics-api#31. (#290)
  • Add optional error_code (integer) and error_message_sample (string, max 200 chars) properties to MMConnectProperties in schema.ts. Producers attach them on the two *_failed events as raw-code / sanitised-message companions to failure_reason. Mirrors metamask-sdk-analytics-api#32. (#290)

Removed

  • Removed MobileSDKConnectV2Payload / MobileSDKConnectV2Properties from schema.ts and the EventV2 oneOf; the mobile/sdk-connect-v2 namespace has no emitters after metamask-mobile#27864 and metamask-mobile#28322, and the V2 endpoint is being updated to reject the namespace in metamask-sdk-analytics-api#29. Internal types only — no change to the public API.
  • chore(analytics): drop MobileSDKConnectV2 types from generated schema (#274)

Changed

  • use merged integration types in analytics (#223)

Changed

  • BREAKING MMConnectProperties.mmconnect_versions type changed from string to Record<string, string> (#206)

Added

  • Added v2/events/ endpoint to schema.ts (#46)

Changed

  • BREAKING Updated analytics.ts to point towards v2/events endpoint and update payload accordingly (#46)

Added

  • Add changelog formatting script (#44)

Changed

  • Align package versions (#48)

Added

  • Initial release