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

cody-music

Package Overview
Dependencies
Maintainers
1
Versions
234
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cody-music - npm Package Compare versions

Comparing version 2.6.62 to 2.6.63

28

dist/lib/store.js

@@ -27,23 +27,9 @@ "use strict";

setConfig(config) {
if (config.spotifyAccessToken) {
this.spotifyAccessToken = config.spotifyAccessToken;
}
if (config.spotifyClientId) {
this.spotifyClientId = config.spotifyClientId;
}
if (config.spotifyClientSecret) {
this.spotifyClientSecret = config.spotifyClientSecret;
}
if (config.spotifyRefreshToken) {
this.spotifyRefreshToken = config.spotifyRefreshToken;
}
if (config.enableItunesDesktop) {
this.itunesDesktopEnabled = config.enableItunesDesktop;
}
if (config.enableSpotifyDesktop) {
this.spotifyDesktopEnabled = config.enableSpotifyDesktop;
}
if (config.enableSpotifyApi) {
this.spotifyApiEnabled = config.enableSpotifyApi;
}
this.spotifyAccessToken = config.spotifyAccessToken;
this.spotifyClientId = config.spotifyClientId;
this.spotifyClientSecret = config.spotifyClientSecret;
this.spotifyRefreshToken = config.spotifyRefreshToken;
this.itunesDesktopEnabled = config.enableItunesDesktop;
this.spotifyDesktopEnabled = config.enableSpotifyDesktop;
this.spotifyApiEnabled = config.enableSpotifyApi;
}

@@ -50,0 +36,0 @@ setCredentials(creds) {

@@ -31,23 +31,9 @@ import { CodyConfig } from "./models";

setConfig(config: CodyConfig) {
if (config.spotifyAccessToken) {
this.spotifyAccessToken = config.spotifyAccessToken;
}
if (config.spotifyClientId) {
this.spotifyClientId = config.spotifyClientId;
}
if (config.spotifyClientSecret) {
this.spotifyClientSecret = config.spotifyClientSecret;
}
if (config.spotifyRefreshToken) {
this.spotifyRefreshToken = config.spotifyRefreshToken;
}
if (config.enableItunesDesktop) {
this.itunesDesktopEnabled = config.enableItunesDesktop;
}
if (config.enableSpotifyDesktop) {
this.spotifyDesktopEnabled = config.enableSpotifyDesktop;
}
if (config.enableSpotifyApi) {
this.spotifyApiEnabled = config.enableSpotifyApi;
}
this.spotifyAccessToken = config.spotifyAccessToken;
this.spotifyClientId = config.spotifyClientId;
this.spotifyClientSecret = config.spotifyClientSecret;
this.spotifyRefreshToken = config.spotifyRefreshToken;
this.itunesDesktopEnabled = config.enableItunesDesktop;
this.spotifyDesktopEnabled = config.enableSpotifyDesktop;
this.spotifyApiEnabled = config.enableSpotifyApi;
}

@@ -54,0 +40,0 @@

{
"name": "cody-music",
"version": "2.6.62",
"version": "2.6.63",
"description": "mac osx spotify and itunes music player controller, spotify audio features, itunes and spotify genre, and playlist control",

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

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