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

discord-rich-presence

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discord-rich-presence - npm Package Compare versions

Comparing version 0.0.3 to 0.0.5

browser.min.js

3

index.js
const Discord = require('discord-rpc');
const EventEmitter = require('events');
const browser = typeof window !== 'undefined';
function makeClient(id) {
const rpc = new Discord.Client({ transport: 'ipc' });
const rpc = new Discord.Client({ transport: browser ? 'websocket' : 'ipc' });

@@ -7,0 +8,0 @@ let connected = false;

{
"name": "discord-rich-presence",
"version": "0.0.3",
"version": "0.0.5",
"description": "rich presence wrapper for discord-rpc",
"main": "index.js",
"scripts": {
"build:browser": "webpack",
"prepublishOnly": "env NODE_ENV=production npm run build:browser"
},
"repository": {

@@ -23,4 +27,8 @@ "type": "git",

"dependencies": {
"discord-rpc": "^3.0.0-beta.6"
"discord-rpc": "^3.0.0-beta.7"
},
"devDependencies": {
"uglifyjs-webpack-plugin": "^1.1.2",
"webpack": "^3.10.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