UNPKG

@metamask/snaps-sdk

Version:

A library containing the core functionality for building MetaMask Snaps

21 lines 689 B
import type { Json } from "@metamask/utils"; /** * The parameters for the `snap_trackEvent` method. * * @property event - Primary payload object containing other metrics properties. * @property event.event - The name of the event to track. * @property event.properties - Custom values to track. * @property event.sensitiveProperties - Sensitive values to track. */ export type TrackEventParams = { event: { event: string; properties?: Record<string, Json>; sensitiveProperties?: Record<string, Json>; }; }; /** * The result returned by the `snap_trackEvent` method. */ export type TrackEventResult = null; //# sourceMappingURL=track-event.d.cts.map