import { ServerRuntimeClient, applySdkMetadata } from '@sentry/core'; /** * The Sentry Vercel Edge Runtime SDK Client. * * @see VercelEdgeClientOptions for documentation on configuration options. * @see ServerRuntimeClient for usage documentation. */ class VercelEdgeClient extends ServerRuntimeClient { /** * Creates a new Vercel Edge Runtime SDK instance. * @param options Configuration options for this SDK. */ constructor(options) { applySdkMetadata(options, 'vercel-edge'); options._metadata = options._metadata || {}; const clientOptions = { ...options, platform: 'javascript', // TODO: Grab version information runtime: { name: 'vercel-edge' }, serverName: options.serverName || process.env.SENTRY_NAME, }; super(clientOptions); } } export { VercelEdgeClient }; //# sourceMappingURL=client.js.map