Socket
Socket
Sign inDemoInstall

discord-rpc-contructor

Package Overview
Dependencies
7
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.5 to 1.1.0

19

index.js

@@ -256,2 +256,12 @@ module.exports = (function (e) {

setAssetsLargeImage(e) {
// Gif support
if (
typeof e == 'string' &&
(e.startsWith('https://') || e.startsWith('http://')) &&
e.includes('external') && e.includes('discord')
) {
e = `mp:external${
e.split('external')[1]
}`;
}
return (

@@ -266,2 +276,11 @@ this.verifyNull(),

setAssetsSmallImage(e) {
// Gif support
if (
typeof e == 'string' &&
(e.startsWith('https://') || e.startsWith('http://')) &&
e.includes('external') &&
e.includes('discord')
) {
e = `mp:external${e.split('external')[1]}`;
}
return (

@@ -268,0 +287,0 @@ this.verifyNull(),

2

package.json
{
"name": "discord-rpc-contructor",
"version": "1.0.5",
"version": "1.1.0",
"description": "Create Discord RPC for SelfBot",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc