UNPKG

@sentry/node

Version:

Sentry Node SDK using OpenTelemetry for performance instrumentation

16 lines (13 loc) 397 B
import { defineIntegration, isBrowser, consoleSandbox } from '@sentry/core'; const unleashIntegrationShim = defineIntegration((_options) => { if (!isBrowser()) { consoleSandbox(() => { console.warn("The unleashIntegration() can only be used in the browser."); }); } return { name: "Unleash" }; }); export { unleashIntegrationShim }; //# sourceMappingURL=unleash.js.map