123456789101112131415161718192021222324252627282930313233 |
- Object.defineProperty(exports, '__esModule', { value: true });
- const core = require('@sentry/core');
- /**
- * The Sentry Vercel Edge Runtime SDK Client.
- *
- * @see VercelEdgeClientOptions for documentation on configuration options.
- * @see ServerRuntimeClient for usage documentation.
- */
- class VercelEdgeClient extends core.ServerRuntimeClient {
- /**
- * Creates a new Vercel Edge Runtime SDK instance.
- * @param options Configuration options for this SDK.
- */
- constructor(options) {
- core.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);
- }
- }
- exports.VercelEdgeClient = VercelEdgeClient;
- //# sourceMappingURL=client.js.map
|