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

discotify

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discotify - npm Package Compare versions

Comparing version 0.2.11 to 0.2.12

2

package.json
{
"name": "discotify",
"version": "0.2.11",
"version": "0.2.12",
"description": "Discord Rich Presence for spotify in TypeScript",

@@ -5,0 +5,0 @@ "homepage": "https://kurozero.xyz",

@@ -1,2 +0,2 @@

# discotify `0.2.11`
# discotify `0.2.12`
Spotify Rich Presence for Discord in TypeScript<br/>

@@ -6,3 +6,3 @@ *shows your currently playing song as a fancy rich presence in Discord*

Install globally with:<br/>
`npm install -g discotify@0.2.11`
`npm install -g discotify@0.2.12`

@@ -9,0 +9,0 @@ ## Requirements

@@ -17,3 +17,3 @@ const { format } = require('util');

function getJson(url, params?, headers?, cb?) {
function getJson(url, params, headers, cb) {
if (params instanceof Function) {

@@ -63,3 +63,3 @@ cb = params;

function getOauthToken(cb) {
return getJson('http://open.spotify.com/token', function (err, res) {
return getJson('http://open.spotify.com/token', null, null, function (err, res) {
if (err) {

@@ -239,3 +239,3 @@ return cb(err);

function spotifyJsonRequest(self, spotifyRelativeUrl, additionalParams?, cb?) {
function spotifyJsonRequest(self, spotifyRelativeUrl, additionalParams, cb) {
cb = cb || function () { };

@@ -242,0 +242,0 @@ additionalParams = additionalParams || {};

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