Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@infermedica/vue-sentry-plugin

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@infermedica/vue-sentry-plugin - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

4

index.js

@@ -34,4 +34,6 @@ /* global __sentry */

setUser(id, username, name, email) {
const cleanUserObject = {id, username, name, email};
Object.keys(cleanUserObject).forEach((key) => !cleanUserObject[key] && delete cleanUserObject[key]);
Sentry.configureScope((scope) => {
scope.setUser({id, username, name, email});
scope.setUser(cleanUserObject);
});

@@ -38,0 +40,0 @@ },

{
"name": "@infermedica/vue-sentry-plugin",
"description": "Sentry plugin for Vue applications.",
"version": "0.1.0",
"version": "0.1.1",
"author": "Infermedica",

@@ -6,0 +6,0 @@ "license": "MIT",

@@ -38,3 +38,7 @@ # Infermedica Vue Sentry Plugin

This plugin automatically sets two Sentry tags:
* "instance" to the value of `window.location.hostname`
* "event_layer" to the value "frontend"
### Set additional global Sentry tags

@@ -41,0 +45,0 @@

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