New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@degen/common-utils

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@degen/common-utils - npm Package Compare versions

Comparing version 0.3.3 to 0.3.4

30

dist/SentryUtils.js

@@ -32,16 +32,22 @@ "use strict";

const constants_1 = __importDefault(require("./constants"));
const LogUtils_1 = __importDefault(require("./LogUtils"));
const SentryUtils = {
init: (appName, appVersion) => {
Sentry.init({
dsn: `${constants_1.default.sentryDSN}`,
tracesSampleRate: 1.0,
release: `${appName}@${appVersion}`,
environment: `${process.env.SENTRY_ENVIRONMENT}`,
integrations: [
new integrations_1.RewriteFrames({
root: __dirname,
}),
new Sentry.Integrations.Http({ tracing: true }),
],
});
try {
Sentry.init({
dsn: `${constants_1.default.sentryDSN}`,
tracesSampleRate: 1.0,
release: `${appName}@${appVersion}`,
environment: `${process.env.SENTRY_ENVIRONMENT}`,
integrations: [
new integrations_1.RewriteFrames({
root: __dirname,
}),
new Sentry.Integrations.Http({ tracing: true }),
],
});
}
catch (e) {
LogUtils_1.default.logError('failed to initialize sentry', e);
}
},

@@ -48,0 +54,0 @@ };

4

package.json
{
"name": "@degen/common-utils",
"version": "0.3.3",
"version": "0.3.4",
"description": "NPM package containing common utilities for various node projects.",

@@ -8,3 +8,3 @@ "main": "dist/main.js",

"repository": "git@github.com:degen-workgroup/common-utils.git",
"author": "Brian <patinobrian@gmail.com>",
"author": "Brian Patino <patinobrian@gmail.com>",
"license": "MIT",

@@ -11,0 +11,0 @@ "publishConfig": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc