Skip to main content
Glama
web-vitals.js890 B
import { onINP, onLCP, onCLS, onFCP } from 'web-vitals/attribution'; import { assignableWindow } from '../utils/globals'; var postHogWebVitalsCallbacks = { onLCP: onLCP, onCLS: onCLS, onFCP: onFCP, onINP: onINP, }; assignableWindow.__PosthogExtensions__ = assignableWindow.__PosthogExtensions__ || {}; assignableWindow.__PosthogExtensions__.postHogWebVitalsCallbacks = postHogWebVitalsCallbacks; // we used to put posthogWebVitalsCallbacks on window, and now we put it on __PosthogExtensions__ // but that means that old clients which lazily load this extension are looking in the wrong place // yuck, // so we also put it directly on the window // when 1.161.1 is the oldest version seen in production we can remove this assignableWindow.postHogWebVitalsCallbacks = postHogWebVitalsCallbacks; export default postHogWebVitalsCallbacks; //# sourceMappingURL=web-vitals.js.map

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sadiuysal/mem0-mcp-server-ts'

If you have feedback or need assistance with the MCP directory API, please join our Discord server