@lynxvs/amqp
Advanced tools
Comparing version 4.0.0 to 4.0.1
"use strict"; | ||
var __importDefault = | ||
(this && this.__importDefault) || | ||
function(mod) { | ||
return mod && mod.__esModule ? mod : { default: mod }; | ||
}; | ||
var __importStar = | ||
@@ -19,3 +14,3 @@ (this && this.__importStar) || | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const node_1 = __importDefault(require("@sentry/node")); | ||
const Sentry = __importStar(require("@sentry/node")); | ||
const config = __importStar(require("./config")); | ||
@@ -43,3 +38,3 @@ /** | ||
if (process.env.NODE_ENV === "production") { | ||
node_1.default.captureException(err, options); | ||
Sentry.captureException(err, options); | ||
} | ||
@@ -46,0 +41,0 @@ resolve(); |
{ | ||
"name": "@lynxvs/amqp", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,2 +0,2 @@ | ||
import Sentry from "@sentry/node"; | ||
import * as Sentry from "@sentry/node"; | ||
import * as config from "./config"; | ||
@@ -3,0 +3,0 @@ import { CaptureContext } from "@sentry/types"; |
51659
1731