@alwaysmeticulous/sentry
Advanced tools
Comparing version 2.40.3 to 2.72.0
import * as Sentry from "@sentry/node"; | ||
import { Duration } from "luxon"; | ||
export declare const SENTRY_FLUSH_TIMEOUT: Duration; | ||
/** | ||
* Initializes Sentry to send errors to the SDK project | ||
*/ | ||
export declare const initSentry: (meticulousVersion: string, tracesSampleRateOverride?: number) => Promise<Sentry.Hub>; |
@@ -30,2 +30,5 @@ "use strict"; | ||
const luxon_1 = require("luxon"); | ||
/** | ||
* DSN for SDK project | ||
*/ | ||
const SENTRY_DSN = "https://10c6a6c9f5434786b37fb81b01323798@o914390.ingest.sentry.io/6435232"; | ||
@@ -37,2 +40,5 @@ exports.SENTRY_FLUSH_TIMEOUT = luxon_1.Duration.fromObject({ seconds: 1 }); | ||
}; | ||
/** | ||
* Initializes Sentry to send errors to the SDK project | ||
*/ | ||
const initSentry = async (meticulousVersion, tracesSampleRateOverride) => { | ||
@@ -49,1 +55,2 @@ Sentry.init({ | ||
exports.initSentry = initSentry; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@alwaysmeticulous/sentry", | ||
"version": "2.40.3", | ||
"version": "2.72.0", | ||
"description": "Helper methods for connecting to Sentry", | ||
@@ -46,3 +46,3 @@ "license": "ISC", | ||
}, | ||
"gitHead": "b7055372caa771a9d69856d53933021f134a7388" | ||
"gitHead": "f39fc34ba27a6f530d670b5282a9bc3afca63e9f" | ||
} |
5641
6
59